3 ms·
It looks like something achievable with SPA frameworks such as next.js
by tracyhenry 4y ago
It looks like something achievable with SPA frameworks such as next.js
- culi 4y agoMight also be using the native Context Index API.[0] That's usually used to allow sites to be downloaded and browsed offline. I think that's how SVGOMG does it too [0] https://developer.mozilla.org/en-US/docs/Web/API/Content_Index_API https://developer.mozilla.org/en-US/docs/Web/API/Content_Ind...
- chrisweekly 4y agoIn 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.