Re:Full-Stack TypeScript with tRPC and React
by thinkingkong on Tuesday March 14, 2023 @04:20PM
(#35157829)
The big item is having no build step. With gRPC even no matter how fast your codegen is, it still needs to execute. With tRPC the return types from the routers are all automatically derived from whatever the mutations or queries return.
[ Parent
| on HN ]
How does a TypeScript based codebase not have a build step?
Re:Full-Stack TypeScript with tRPC and React
by thinkingkong on Tuesday March 14, 2023 @05:21PM
(#35158931)
It depends how you're running the application but at _development_ in your IDE no build is required between the time you define your controller return and then switch into your react code.