I like the idea, but has anybody performance tested this? What happens when you're dealing with thousands of rows of data that pass every item along as class instants vs primitive types?
Not too big of a fan of frameworks myself, unless we’re dealing with a huge project of course, but otherwise I prefer small, composable libraries to make up the need in a tight fit, with no un-needed parts being present.
Modern React.js with Vite is really nice, with out of the box TypeScript support and all, but by far my favourite text stack is most likely #php with #htmx. It's the simplicity that gets me.
@maxalmonte14 Yeah! And HTMx is really powerful with its X-Trigger headers (https://htmx.org/headers/hx-trigger/) that can do events and so forth if you need a little more oomph, and then there's plenty extensions as well to make, for example, dependent things trigger (https://htmx.org/extensions/path-deps/).
I even made a block based WYSIWYG editor entirely with PHP + HTMx just to prove that you can do some very interactive things usually thought to be only possible in SPA's.
Now if only we could get the pipeline operator into #php, I could die happy. Meanwhile however @Crell 's fp library will fit the bill nicely: https://github.com/Crell/fp