2 ms·
The funny thing is that a single module inclusion in a traditional link based website will deliver all of this predictive preloading for you. One line of code.
by fleddr 6y ago
The funny thing is that a single module inclusion in a traditional link based website will deliver all of this predictive preloading for you. One line of code.
Which debunks one of the critical advantages of an SPA.
The other is transitions. Which are never implemented because it's just too damn hard. Instead you get a spinner, 17 API requests (instead of 1 Ajax request), and a giant fragment of the DOM replaced whilst you lose your scroll position.