DEV Community

Discussion on: Why do Webdevs keep trying to kill REST?

Collapse
 
okrohan profile image
Rohan Salunke • Edited

Well written! This sorta also serves up as a guide to choose your client-server model.
Personally I have been a fan of GraphQL because of type safety, auto caching and codegen. As a middle-ground I'd recommend using the Open API spec(swagger.io/specification/) for REST and a smart GQLish client like React Query(react-query.tanstack.com) along with Orval(orval.dev) for client codegen.
Cheers!

Collapse
 
swyx profile image
swyx

thank you for the personal recs!