4 ms·
This is why I'm a fan of having both - no need to limit yourself to one or the other Data heavy pages with little or no interaction? Statically render it. Admi
by bpicolo 9y ago
This is why I'm a fan of having both - no need to limit yourself to one or the other
Data heavy pages with little or no interaction? Statically render it. Admin pages, terms of service, etc. Writing endpoints and serialization to move the data is a waste of time.
Sure, you might have to maintain two separate sets of minor components (header nav and such) but it's well worth it the lessen the development cost of non-impactive pages. Can also get away with loading HTML partials from the backend and throwing them into the dom whole - the perfect case for __dangerouslySetInnerHTML or whatever, then you can reuse your nav and such