Re:You probably don't need a single-page app
by sbov on Sunday February 17, 2019 @12:18PM
(#19185517)
Our controllers use APIs. This was common before SPAs became all the rage.
[ Parent
| on HN ]
Re:You probably don't need a single-page app
by dangoor on Sunday February 17, 2019 @03:41PM
(#19186752)
Indeed, that's true. While I'm not saying they're good for everything, one thing I like about SPAs is that the server can just serve up an API that is usable by both web and mobile clients. No duplication of templating/view logic between server and client as often happens when the server is serving up HTML.