3 ms·
No. For data-driven apps, it's a question of how your users interact with that data. Do you need an application that allows users to have an interactive view of
by aosaigh 8y ago
No. For data-driven apps, it's a question of how your users interact with that data. Do you need an application that allows users to have an interactive view of some data that wouldn't be easily achieved through a traditional CRUD approach? Then consider SPAs. Otherwise, stick to traditional template driven apps.
SPAs significantly multiply the complexity of an application, particularly if you are using unopinionated frontend frameworks, where you suddenly have to make a huge number of design decisions on how your local data is stored and transmitted to your API.
- andrei_says_ 8y agoThis is a very good point and complex data interfaces are often needed sparingly so a web app may be completely OK with SSR except for a couple of highly interactive pages. Unfortunately I see purely crud apps presented as SPAs for no apparent reason. A recent example is att’s consumer facing site — all page loads were happening via Ajax for no apparent reason.