2 ms·
If the argument is "what makes ERB / JST / some other templating language better than React for server-side rendering" then sure, there's not really much differ
by ryanbrunner 6y ago
If the argument is "what makes ERB / JST / some other templating language better than React for server-side rendering" then sure, there's not really much difference.
What I suspect was the intent of the original question was "why does a simple app need to be an SPA with an API on the backend", which I do feel is something that adds significant complexity to any project. It's sometimes worth it, but I'll never be convinced that having to maintain an API alongside client-side rendering is faster or easier than a traditional server-rendered application.
- woutr_be 6y agoComplexity is one thing, but more importantly is choosing the right tools for the job. There definitely are cases where you want SPA + API, but this wasn’t one of them.