3 ms·
In a way you are just moving the complexity back to the server code. I am not sure that helps in any way. The server will now have to have state or reload stat
by jbergens 8y ago
In a way you are just moving the complexity back to the server code. I am not sure that helps in any way.
The server will now have to have state or reload state on every request and that state could include many things that are not obvious like
- what page are you on
- which links should be shown in the menu
- are there other things on the page that needs to be shown that has little to do with the current request-path
- collyw 8y agoA lot of that complexity belongs on the back end. Every front end page is likely to have a separate number of REST endpoints, so the code is effectively duplicated. In my experience keeping as much of the code on the back end eliminates a lot of complexity, though I am far more competent with backend technologies, but I have yet to see a SPA app that reduced complexity.