News for hackers. Stuff that matters.
Re:Ask HN: Vite or NextJS? by da4id on Thursday December 21, 2023 @12:50PM (#38723901)
Why do you want to use Next.js if you already have a FastAPI backend?
Re:Ask HN: Vite or NextJS? by linkdd on Thursday December 21, 2023 @01:31PM (#38724593)
One of the goals of making an API is to be able to implement multiple frontends on top of it.

In Next.JS server side, whether you query a database or a remote API with `fetch`, there are not much differences. And you'd still want Server Side Rendering to avoid having slow "first display" time.