3 ms·
I've only got experience with Next.js, but I think it's less on the framework and more on the developer to design a site that degrades gracefully. The framewor
by mpalmer 6y ago
I've only got experience with Next.js, but I think it's less on the framework and more on the developer to design a site that degrades gracefully.
The framework's job is to upgrade gracefully - e.g. to facilitate building runtime functionality that meshes well with the statically rendered output.
Next.js and its fellows let you statically render anything you want. It can be a fully static output if you like.
The benefit of building it all out of React components is that there's no integration or binding that has to be done between the "static" elements of the page and the dynamic ones. They're one and the same, the only difference is the first render happens at build time.
A Next.js page that degrades gracefully is just one that's useful even if it only renders once.