abdosarmini's avatar

Next.js vs Inertia.js SSR (for SSR-SPA app)

I really like the SSR experience of Next.js. I mean, the pages are generated on the server (for SEO), and it also behaves like an SPA app (no page reloads evertime). I also love Laravel.

So I was thinking about using Next.js + Laravel REST API. But also I have another option, which is using Inertia.js SSR + React and making the whole workflow easier without needing an API. But I am not sure if that will work as smoothly as the Next.js way. Also, I guess the TALL stack can achieve the same goal (SSR+SPA). But not sure though. But the thing is, I don't want to use it because the support and the packages are not even close to what React has.

I need your opinion on this, please. Thanks in advance.

1 like
2 replies
Ben Taylor's avatar

I haven't used Next.js but highly recommend inertia. It is a great developer experience.

Why not try building something small with it and see if you like it?

1 like

Please or to participate in this conversation.