Replies: 2 comments
-
Hello @gferreri Unfortunately this is one big side effect of using GQty as it needs the WPGraphQL generated types to work correctly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@gferreri The good news is that we are working on the next version of Faust.js that is based on Apollo Client and does not include the generated schema. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Client bundle size is massively affected by the size of schema.generated.ts
Analyzing the bundle size of the example project from this repo shows
schema.generated.ts
as the largest contributor to the client bundle:In a real production use case, the generated schema file is even larger, presumably due to a larger overall server schema:
This leads to suboptimal performance and poor performance scores from tools such as Lighthouse for the resulting application.
It's kind of a bummer to initialize a brand new faustJs app and see that you're already in the red for first load JS size.
Beta Was this translation helpful? Give feedback.
All reactions