Re:You probably don't need a single-page app
by aaaaaaaaaaab on Sunday February 17, 2019 @12:37PM
(#19185633)
Counterpoint: how many times have you browsed an infinite list of progressively revealed items only to accidentally refresh it and start scrolling again from the top. And of course the items are randomized by our latest AI-based clickdriver algorithm so you won’t be able to find the item you were looking at no matter how long you scroll ;)
Re:You probably don't need a single-page app
by Toutou on Sunday February 17, 2019 @04:25PM
(#19187012)
I can't see why the Show More content couldn't be rendered server-side, fetched with AJAX and plugged into the DOM with two lines of JS. SSR, no redirect nor refresh, progressive reveal af.
Re:You probably don't need a single-page app
by matchagaucho on Sunday February 17, 2019 @07:14PM
(#19187769)
That pretty much describes SPA behavior.
The payload can be JSON or HTML... but the UX should not redirect.
Progressive reveal patterns are expected by end users. It's just lazy for a programmer to assume old-world CRUD patterns with server-side render.