Hey Redwood Community!
With Redwood v0.33 we’ve shipped almost complete TypeScript support, and we’re so happy to be hitting this milestone!
But… we need your help! Your favourite framework needs YOU, to give us feedback on how the dev experience has been for you, and if you’ve found any missing pieces that we should wrap up.
How are you finding the generated types?
Types for your graphql queries, scenarios, cells and directory named modules (i.e.
src/component/module) are all generated by the dev server when you run
rw dev. That means, you just import your Cells or components as you would and redwood should hook up the types for you automatically!
Do you find it helpful that the generated graphql types are not gitignore’d?
We think its useful to see the change in types, for example, when you change the query in your Cell.
Are there any cases where you’re not getting the expected types?
You can raise an issue on the Github repo, and we’ll tag it correctly so it appears in the TypeScript project board here: TypeScript · GitHub
If you’re not quite ready to raise an issue, you’re more than welcome to reply here to start a conversation!
Last, but not least, thank you all for being part of this amazing community and for your contributions!