This is just a ramble, don’t take it too seriously.
A couple years ago I’ve started noticing two, apparently contradicting, trends:
- The consolidation of the frontend space around react derivated frameworks (such as Next.js, Astro, etc)
- The resurge of traditional fullstack frameworks as a viable alternative.
It’s like we are pulling into two opposite poles: extreme complexity on one side, and lowest possible complexity on the other. Imagine telling someone back in 2019 you wanted to render html on the backend and replace it dynamically using just enhanced html. They would have laughed at you.
Another thing that I can’t fully wrap my mind around to this day is how they try to sell you clearly frontend oriented frameworks as fullstack. It’s insane to me that any fullstack framework doesn’t focus on the modeling the problem you’re trying to solve. It’s just UI, which is OK for a frontend framework, absolutely not for a fullstack one. Rendering a view
It’s also crazy how normalized it was to have a few seconds load time for SPAs, that’s now going away thanks to god.
Prisma is pretty cool tbh but it still feels quite lacking compared to Active Record or Django’s ORM.
On the other side, we have the good ol’ fullstack frameworks: Rails, Django, Laravel, and more. With this group there’s been another rising trend which is dynamically updated HTML via WebSockets (which is cool af, but complex). This includes Rails Hotwire, Laravel Turbo, Django Channels, Elixir Phoenix, Blazor Server and a couple more. However, this also introduces the server state management complexity; questionable responsivity depending on latency (you depend on a roundtrip for any kind of ui interaction). Don’t get me wrong, I prefer these over the fake fullstacks but it still feels somewhat wrong. To begin with, it’s hard to find developers with enough experience with these technologies. And since they are new tech, they feel a bit like react a few years ago: breaking changes often enough. Channels is not even 1.0
I see some people using Rust or Go with HTMX, and pardon me, but what the hell? Why would you do that? You get none of the benefits of a proper fullstack framework without even the top-notch UI of the frontend framework while not gaining any further productivity.