3 ms·
What you're asking is advantages of SPAs over classic web apps. For example you write only one REST API for all clients: iOS, Android, Web. They can use the sa
by veza 9y ago
What you're asking is advantages of SPAs over classic web apps.
For example you write only one REST API for all clients: iOS, Android, Web.
They can use the same endpoints.
Otherwise you need to write separate controllers/views for web templates, which leads to duplication.
- rhapsodic 9y ago> What you're asking is advantages of SPAs over classic web apps. That's not necessarily true. The OP didn't mention anything about server-side rendering. It's quite possible to build a SPA with the aforementioned stack. (Although personally I think jquery offers a lot of benefits over plain JS for DOM manipulation and event handling.)