You actually don’t need to, can just send it over the wire as a string AFAIK. My understanding is the tagged template literal is mostly utility for IDE autocomplete, syntax highlighting, etc… maybe it was originally necessary but if you look at something like https://github.com/jaydenseric/graphql-react (hit reset cache on the bottom and look at the network tab of devtools) processing the query isn’t needed.
This looks awesome! Are there any plans in the works to drop the graphql dependency for client-side apollo use? Some of the other graphql libs have done this and it does save a pretty significant amount of bytes.
It means there’s a simple math solution to the underlying physics we’re not aware of yet and a rudimentary machine learning model was able to infer it. Kind of embarrassing really.
Did you do those measurements using production mode or development mode? We have a LOT of stuff going on in development mode to avoid pitfalls that will slow the page down a bit that you don’t see in production.