Re:None of my projects want to be SPAs
by icebraining on Tuesday February 12, 2019 @02:52PM
(#19146878)
Both of those are just fixing problems caused by the reliance on JS in the first place.
The first could be done easily with anchor links - if the content wasn't loaded dynamically.
And browsers are perfectly able to return you to the same position in the page - unless it's all loaded dynamically.
Hrm. I apparently angered it by scrolling to fast, and it froze for about a second. I think I prefer ordinary forums...
Re:None of my projects want to be SPAs
by KajMagnus on Monday February 11, 2019 @03:37PM
(#19138054)
Or this, this blog post (I wrote) about how Hacker News itself can be improved, and it's about SPA things:
https://www.talkyard.io/-32/how-hacker-news-can-be-improved-...
A more interactive Javascript-heavy UI can improve a lot of aspects of even websites we consider to be a server-side-rendered gold standard like a forum or message board.
For example, look at the right-sidebar scrubber on Flarum that lets you quickly scroll to arbitrary parts of a long forum thread: https://discuss.flarum.org/d/17745-flarum-0-1-0-beta-8-relea...
Or look at how clicking a submission on Reddit's new UI opens it in a floating modal window so that you don't lose track of where you are when you click out of it. It makes opening submissions feel cheaper/faster to me where, in the old UI, I tended to open everything up in a new tab.
There's a more thoughtful consideration that needs to be had here than just "webapp or website?" Else you're back to cargo-culting.