Hey ya'll. I've been looking for a solution to ensure type-safety when we interact with the data returned from the backend
i'm using CRA with Apollo as the framework for the graphql stuff.
I've been following this guide:
https://www.apollographql.com/blog/tooling/apollo-codegen/typescript-graphql-code-generator-generate-graphql-types/
I've been wondering if this is the best approach and if anyone else has had success generating type definitions from a backend that isn't written in typescript.
Don Norman, the author of “The Design of Everyday Things” has a philosophy for what he believes constitutes good design. Don says that good design is primarily discoverability and feedback. For example, when you encounter something new (like, a new codebase), how quickly can you discover what you can do (discoverability)? And then after you’ve [...