2 ms·
In the spirit of clarification / correction (vs pedantry), SPA is a client-side web architecture pattern, whereas Next.js is a web framework best known for its
by chrisweekly 4y ago
In the spirit of clarification / correction (vs pedantry), SPA is a client-side web architecture pattern, whereas Next.js is a web framework best known for its support for rendering outside the browser (SSR and SSG).
- tracyhenry 4y agoThanks. Terminology aside, what I referred to was exactly Next.js's pre-rendering (SSR & SSG) and prefetching. I feel like without them it'll be harder to achieve OP's interactivity with just React/Vue.
- fullstackchris 4y agoReact / Vue is also irrelevant here however. It all depends how your actual prod code is built in the end. (For example you can use React with Next.js and still do all the SSR SSG stuff) In this case you're writing React for your server side rendered pages as opposed to the 'traditional' pattern of an SPA where everything happens in the client.