Hacker News new | ask | show | jobs
by veza 3023 days 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.

1 comments

> 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.)