News for hackers. Stuff that matters.
Re:It's time for modern CSS to kill the SPA by nfw2 on Sunday July 27, 2025 @06:36PM (#44705356)
Because past delays of about 100ms, users lose the sensation of directly manipulating the page. The feel of a page is part of it's aesthetic.

Also, immediate feedback reduces anxiety and mistakes (for example duplicate submissions).

https://www.researchgate.net/publication/391230228_Cognitive...

https://www.nngroup.com/articles/response-times-3-important-...

Re:It's time for modern CSS to kill the SPA by gizzlon on Monday July 28, 2025 @04:23AM (#44708546)
Looked at the first one, and that's in a game setting? And they test 600 ms??

edit: The second one is more useful IMO. It's hard to get under 100 ms with a roundtrip, but < 300 ms should be doable, right? So you do lose the sense that you are directly manipulating data. In most cases I think that's a good trade-off. Exceptions would be things like Google docs, but that's also because it's a well made app I trust to actually sync my data without loss. Unlike most SPAs..

Re:It's time for modern CSS to kill the SPA by nfw2 on Monday July 28, 2025 @10:00PM (#44718130)
300ms for network latency both ways, with server potentially doing its own network calls for data to fulfill the request, interpolating the html, and then browser rerendering client seems like a stretch