There have been many discussions on Twitter around "GraphQL versus tRPC" for building a modern backend for your application. GraphQL has become popular in recent years as the defacto successor to REST, while tRPC solves the problem of end-to-end safety in fullstack applications. Is it comparing apples to oranges?
Blog post: [ Ссылка ]
What's included:
00:00 Intro
00:38 What is GraphQL
01:51 Look at tRPC
02:43 Compare GraphQL & tRPC
03:19 Type definitions for TypeScript
04:50 Hard to build GraphQL APIs??
05:38 GraphQL Clients
06:09 Conclusion
There are many other things to consider when choosing between GraphQL and tRPC, but these are the main ones in my opinion. I'd love to hear your thoughts on this, so please let me know via Twitter at [ Ссылка ] or HN [ Ссылка ]
***
Subscribe to this channel to learn everything about web development. This example was taken from my book React Projects, which is available on
- Amazon [ Ссылка ]
- Packt [ Ссылка ]
Follow @gethackteam on Twitter [ Ссылка ]
Ещё видео!