3 ms·
Question: what is the advantage of SPA for a statically generated site?
by metaphorical 8y ago
Question: what is the advantage of SPA for a statically generated site?
- pknight 8y agoOnce the first page is loaded subsequent interactions that would normally require a full page request can be done with smaller requests and with nice transition effects.
- hawski 8y agoLately I've been thinking that browsers could do whole DOM diffing for the transitions between the same origin. Browser could just retain a current DOM, then just replace what's different. I wonder how hard would it be to implement. I understand that it's not how it works currently. But I hate that most SPAs out there fail to signify progress and failure. I click something and nothing happens. It's infuriating.