2 ms·
React doesn’t stop you (it is just a library) but doesn’t help you either. NextJS helps with this kind of thing by letting you statically generate server side
by quickthrower2 4y ago
React doesn’t stop you (it is just a library) but doesn’t help you either.
NextJS helps with this kind of thing by letting you statically generate server side the first render in React (you can load data in prior from a source if needed) and then you can CDN that page.
You could also do this in rails but NextJS saves you needing say a moustache or ERB version of the same page for the static render. You use the same code for build time, back end runtime and front end.
Lovingly called isomorphic programming or as cynics call it: monoglot!
I knew of the progressive enhancement concept but what I
didn’t know was the 14kb thing. It is motivating me to experiment!