3 ms·
Was HTML rendering ever a concern in terms of complexity? No backend engineers at my company do any frontend because JS is a large hurdle. Sending data to the f
by jb3689 4y ago
Was HTML rendering ever a concern in terms of complexity? No backend engineers at my company do any frontend because JS is a large hurdle. Sending data to the frontend requires serializing and deserializing which duplicates logic and tightly couples two components we’re trying to separate by technology. You need to deal with a slew of new failure modes when your backend can die at any time - particularly if you are lazily fetching like most apps do.
Personally I think the only reason to ever use an SPA should be performance when sending data over the wire is significantly cheaper than sending new templates or when your frontend code needs to handle very complex states. An SPA can also be a good option if you want to dog food your API layer