4 ms·
Websites that are setup like SPAs (single page apps) can do this. It's just something that has to be built-in to the app, not the browser. A single page app ca
by dtagames 4y ago
Websites that are setup like SPAs (single page apps) can do this. It's just something that has to be built-in to the app, not the browser.
A single page app can refresh or redraw just the portion of the screen that has changed -- and they can do it without even calling the server. This definitely makes web apps feel "zippier" and more like desktop apps.
If looking for new data from a server, a single page app can redraw just the portion of the screen where the data on the server is different from what's already drawn, and this also improves responsiveness.
Here's some more about SPAs in general [0] and an article I wrote about developing with web components [1] which is a modern way to build them:
[0] https://en.wikipedia.org/wiki/Single-page_application https://en.wikipedia.org/wiki/Single-page_application
[1] https://medium.com/gitconnected/getting-started-with-web-components-lit-part-1-911aa7058e9b https://medium.com/gitconnected/getting-started-with-web-com...