News for hackers. Stuff that matters.
Re:Websites have evolved back to static HTML/CSS/JS files by benbristow on Sunday March 08, 2020 @07:11PM (#22521337)
Twitter's redesign is one of the most performant SPA's I've seen in a while. It's really smooth and nicely designed too. A lot better than their previous webapp.
Re:Websites have evolved back to static HTML/CSS/JS files by zuzun on Monday March 09, 2020 @04:13AM (#22523795)
When I open a Tweet I look at spinner animations for 10 seconds. Scrolling is also the opposite of smooth.
Re:Websites have evolved back to static HTML/CSS/JS files by benbristow on Monday March 09, 2020 @05:06AM (#22524016)
Scrolling is silky smooth for me and spinners go away quickly.

What hardware are you running?

Re:Websites have evolved back to static HTML/CSS/JS files by zuzun on Monday March 09, 2020 @08:17AM (#22524752)
For their infinite scrolling, they clean the DOM above and below the viewport and only keep a certain amount of tweets rendered. So once you start scrolling a little faster, the JavaScript can't keep pace and starts sputtering.
Re:Websites have evolved back to static HTML/CSS/JS files by readarticle on Sunday March 08, 2020 @07:34PM (#22521470)
Do you know any others? Every time I’m redirected to twitter on mobile I’m in awe, it’s genuinely the only SPA I’ve ever experienced work “properly” on my phone comparable to a native app without any polish.