3 ms·
I think the article which yours is based on is attacking a bit of a straw-man, at least now that 5 years have passed. The original complains of needing to write
by henryfjordan 5y ago
I think the article which yours is based on is attacking a bit of a straw-man, at least now that 5 years have passed. The original complains of needing to write an application-specific API in addition to a general-purpose API but techniques like Redux/Sagas or GraphQL have helped to build that "Application Specific" data-layer in the frontend on top of general APIs. Now-a-days you query that general API and build your application-specific data layer in the browser before rendering that to HTML using React or a similar framework.
In this new world, sending Hypermedia instead of JSON over the wire is still a very compelling idea (why send JSON and make the browser process it?) but maybe it would be best to explore how to accomplish that from within a React-Server-Side-Rendering layer instead of pushing that logic all the way down to the Backend-API layer.