News for hackers. Stuff that matters.
Re:Single Page Applications using Rust by Scarbutt on Tuesday August 11, 2020 @12:37PM (#24122308)
but if we're talking about building an SPA you're typically going to be building a worse solution if you can't SSR your client views

Is not worse, is fine. Mostly depends on the requirements, why go the extra complexity of SSR if you don't need it?

Re:Single Page Applications using Rust by putnambr on Tuesday August 11, 2020 @12:46PM (#24122415)
Most of the time SSR gives massive web accessibility benefits. Ignoring web accessibility because you don't want to implement SSR is likely a worse solution for a large portion of your userbase.
Re:Single Page Applications using Rust by root_axis on Tuesday August 11, 2020 @12:48PM (#24122439)
That's why I said "typically". One of the biggest complaints about SPAs is the perceived slowness due to the app loading and rendering assets in the browser, as well as the typical HN noscript complaints, as well as accessibility issues, SEO issues, and other problems related to back button behavior and url routing. SSR solves all of these troubles.