3 ms·
Let's say you have a query that takes 3 seconds, and about half second to manipulate that into something that makes sense and start sending the data over. With
by ebiester 6y ago
Let's say you have a query that takes 3 seconds, and about half second to manipulate that into something that makes sense and start sending the data over. With the single page solution, you can have a spinner that is allowing the user to know that something is happening. What does it look like if you click that link?
- seba_dos1 6y agoThe browser is instantly showing a spinner to let user know that something is happening, and after 3 seconds the page switches to a new one. That's exactly how this very site we're on right now works, for instance.
- fanf2 6y agoYou know browsers have built-in loading spinners? https://media.giphy.com/media/anjRJ4nv9WJzO/source.gif https://media.giphy.com/media/anjRJ4nv9WJzO/source.gif In my experience, any time a web site reimplements basic browser functionality in JavaScript (e.g. loading spinners, scrolling, navigation) it is slow, buggy, and annoying.