3 ms·
But it does seem that no one enjoys actually building MPAs and that force is currently winning right now.
by Spivak 3y ago
But it does seem that no one enjoys actually building MPAs and that force is currently winning right now.
- boredumb 3y agoUsing your favorite language, a simple http listerner+routing and what ever HTML templating engines are supported, MPAs are simple and enjoyable to build. I think product people enjoyed pretending they were facebook for a while and decided the world needed more infinitely scrolling SPAs and forced a lot of people into having to use react and other frontend heavy frameworks to try to wrangle all the (often times brittle) javascript involved to juggle client state. I don't think we're better off as users or developers because of this.
- berkes 3y agoIt's rather easy to add infinite scrolling to an MPA too, though. A few lines of JS is all you need. I'd argue this is simpler and easier than investing in a full blown ui library and state manager or painting yourself into some corner of today's JS framework.