News for hackers. Stuff that matters.
Re:Don’t Build a General Purpose API to Power Your Own Front... by madsbuch on Sunday August 20, 2023 @03:02PM (#37202007)
This is exactly how next.js works. But even more importantly: Why not use GraphQl in this situation? This is exactly what it excels at:

1. The backend can be entity centric, like it does best 2. The frontend can request a page worth of data from diverse entities in a single go.

There are no comments on this comment yet.