3 ms·
You don't need spa to take benefits of the generated types from graphql. If you use something like typescript on the backend (SSR app), the types will be stripp
by searchableguy 6y ago
You don't need spa to take benefits of the generated types from graphql. If you use something like typescript on the backend (SSR app), the types will be stripped out in the end so it doesn't affect your bundle size.
- CameronNemo 6y agoYou must understand my confusion when your original comment explicitly states that frontend types can be generated, but your reply here seems to be talking about a javascript/typescript backend service.
- searchableguy 6y agoSorry by backend, I mean your SSR app.
- vertex-four 6y agoWhat bundle size? There's no javascript being shipped to the client.
- gbear605 6y agoTechnically there is some used for a few things, like a text editor (for writing build manifests) and for payments. But those are very limited and aren’t relevant to the use of GraphQL.