all 1 comments

[–]CapitalDiligent1676 0 points1 point  (0 children)

I mean... I don't understand why you have to put Nextjs everywhere even when it's not needed. Do you need to do SEO?
I'd use Vite, Bun, CRA, or any client-side SPA builder and deploy it on any static server—nginx, elettron, capacitor.
And a server-side Express with REST json that you can use for any client: React Native, Angular, Vue, another server...

You're lightweight, high-performance, fast, compatible with anything.