Gajus Kuizinas
Gajus Kuizinas
What's the last version where this works as expected?
Works as expected in v7.32.4. None of the v8 versions I've tested work as expected. CC @zkochan
Download time aside, the issue is that it takes a long time to parse all of those files. See this issue for context https://stackoverflow.com/q/73285351/368691 In this example, it takes almost...
> The JSON tree is needed for response processing If it is absolutely necessary, one quick win would be to lazy parse these documents. Here is a relevant article: https://dev.to/danielpdev/javascript-start-up-performance-using-json-parse-lpp...
I ended up writing a Babel plugin to post-compile these queries into something that makes more sense. Would take a bit more of effort to generalize it, since it has...
We ended up just using this Vite plugin: ```ts export const relay = () => { return { name: 'relay', transform(code: string, fileName: string) { if (!fileName.endsWith('.graphql.ts')) { return null;...