4 ms·
> the root cause of every bad Single-Page-App isn’t that it’s a Single-Page-App. The root cause of https://vector-of-bool.github.io/ https://vector-of-bool.git
by nyanpasu64 5y ago
> the root cause of every bad Single-Page-App isn’t that it’s a Single-Page-App.
The root cause of https://vector-of-bool.github.io/ https://vector-of-bool.github.io/ scrolling incorrectly when navigating between pages isn't due to bad management or lack of care, it's because it's a single page app that didn't handle scrolling correctly (which a browser would provide for free), and the author didn't notice despite coming in with good intentions.
- snarkypixel 5y agoThat's the point of the article though. SPA is /hard/. Using a normal many-page app, you get scrolling that works across all browser - even mobile - for free, without having to do anything. I'm not saying I necessarily agree, but that's what this article is about.
- nyanpasu64 5y ago> Single-Page-Apps can be fantastic. Most teams will mess them up because most teams operate in dysfunctional organisations. I don't think the vector-of-bool website, and the broken JS transitions, were designed by a dysfunctional organization (or an organization for that matter) (though the author has suffered from burnout: https://vector-of-bool.github.io/2019/05/23/signals.html https://vector-of-bool.github.io/2019/05/23/signals.html).
- bestinterest 5y agoIt gets even muddier when you consider the fact that MPA transitions will be in browsers hopefully quite soon and you will be able to achieve the exact same effect. https://developer.chrome.com/blog/shared-element-transitions-for-spas/ https://developer.chrome.com/blog/shared-element-transitions...