4 ms·
> no browser-native no-JS way to submit a form and use the response without loading the whole page again I think a lot of badness comes out of the desire to av
by Zak 3y ago
> no browser-native no-JS way to submit a form and use the response without loading the whole page again
I think a lot of badness comes out of the desire to avoid loading the whole page again. Sure, there are lots of more desktop-like webapps where that's definitely undesirable, but a whole lot of interactions are just fine as a page load, as long as the page load itself doesn't suck.
- _factor 3y agoThe real problem isn’t the page load, it’s that it’s visible. If only one picture and a bit of text update, why does the whole screen have to blink?
- skgough 3y agoThe view transitions API addresses this: https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API https://developer.mozilla.org/en-US/docs/Web/API/View_Transi...
- p_l 3y agoAnd seems to require JS and doesn't support (yet) cross-document transitions (i.e. anything that causes a reload)
- deleted 3y ago[deleted]
- Zak 3y agoI question whether that's a real problem in a web form. Even unsophisticated users have probably seen it more than a few times and know that it's normal.