Webpack’ing your GraphQL Documents
Dhaivat Pandya

It would be great if multiple query can stay in one file.

I have a feature store. I the store I have the query:

  • newestProducts
  • hotProducts

If they are in one file I can import them like this

import {newestProductsQuery, hotProductsQuery, ...} from products.gql

It would be more flexible to import and organize the query structure this way.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.