News for hackers. Stuff that matters.
Re: by danpad on Friday November 29, 2024 @12:58PM (#42275665)
> I've never seen a fast or responsive SPA

Here, let me blow your mind. It's in Czech, but you can click the orange buttons to try the activites: https://gramazing.com/features .

Made with NextJS (client side only), Django, hosted in Germany on a cheap VPS.

Re: by justsomehnguy on Friday November 29, 2024 @06:48PM (#42278157)
And you could do all that with a static generated site. Why it needs to be an SPA?
Re: by danpad on Saturday November 30, 2024 @09:36AM (#42281846)
Yes, I could do it with server rendered site, it wouldn't be as fast though. Also SPAs were my bread and butter with my previous employer, and I have gotten to a point where I am much more comfy with NextJS+Django than SSR Django, Django+homebrew JS or something like HTMX (as much as I wanted to like that one).

Statically generated site is something completely different and I couldn't make Gramazing like that.