3 ms·
Genuine question: are smooth page transitions really worth all of this? It seems that page transitions really are the main reason given for using JavaScript-ev
by simonw 7y ago
Genuine question: are smooth page transitions really worth all of this?
It seems that page transitions really are the main reason given for using JavaScript-everything for sites and simple applications that otherwise could have been built with some fast loading HTML and a couple of POST forms.
- tylerchilds 7y agoAnd worth noting React's implemention of vdom is at odds with smooth page transitions, since unmounting components are immediately removed from the DOM.
- pier25 7y agoIMO the main reason for using React, Vue, or Svelte is not SPA but having sophisticated interactivity with better DX than using jQuery. A good example are sophisticated forms with realtime validation, dynamic fields that depend on other fields, etc.
- anderspitman 7y agoI think transitions are cool the first few times I see them, but eventually I just want to get work done. I'll take a fast UI over a pretty one any day. The only transitions I want in a tool are the ones that help my mind follow what's happening. But that help has to outweigh any additional latency caused by having to wait for the transition to finish.
- fleddr 7y agoNo they are not. Well, first of all, most SPAs don't actually deliver on this promise anyway. But let's look into the point made by the author regarding the inspiring example of Apple's app store UX, and trying to aim for that. We, meaning as an industry average, will not achieve that level of UX no matter the stack. Because nobody can afford it. It requires a team of top designers, interaction engineers, dev, QA, etc. That's the problem with the SC valley mindset. They assume every web property has this huge team of top engineers behind them, and that this is a status quo, and applies to the whole web. They have no idea what bubble they are in.
- detaro 7y agoOne piece of evidence: The site this is posted on, which is by now open-source and frequented by many developers, still does not manage to get page transitions right, and by clicking links and using the back button you can get in a state where the page suddenly doesn't let you scroll anymore.