Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
1–10 of 224 posts
Re: Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
#2Re: Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
#3Re: Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
#4Re: Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
#5But on serious note, htmx is basically a solution in the search of a problem. It is the new hype.
Or rather, a solution that overlooks 2 decades of learnings. Yes, for a small set of projects htmx is okay, but even then, where htmx is ideal, static is king, and once static is not good enough, htmx sooner or later starts to feel like the XAML and BPEL soap.
The fundamental problem is that it is pretending to be a declarative language while entirely imperative.
Re: Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
#6Re: Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
#7Happy they did this. Htmx is a great fit for server rendering - which in many or most cases is what you should do in any case. You can always put a mini VueJS or ReactJS app inside of a template for a very custom interactivity.
Re: Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
#8Great, now you can't offload your FE to a CDN. But on serious note, htmx is basically a solution in the search of a problem. It is the new hype. Or rather, a solution that overlooks 2 decades of learnings. Yes, for a small set of projects htmx is okay, but even then, where htmx is ideal, static is king, and once static is not good enough, htmx sooner or later starts to feel like the XAML and BPEL soap. The fundamenta…
Besides the memes, it is absolutely not hype-driven, but hypermedia driven. It asks the question: could HTML be even more powerful than it already is?
The creators of HTMX even want to standardize core ideas of HTMX into the official HTML specification: https://triptychproject.org/ Please read this and reply when you still think it's hype.
Re: Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
#9Re: Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
#10Happy they did this. Htmx is a great fit for server rendering - which in many or most cases is what you should do in any case. You can always put a mini VueJS or ReactJS app inside of a template for a very custom interactivity.
Putting ReactJS or VueJS for a little interactivity is hardly the correct approach. It makes no sense to bring them in for "a little". What made React and React-like (Angular v2, Vue.js) frameworks stabilise is that they're about the right abstractions and everything else for managing dynamic html converges to about the same thing.
However for some really complex mini apps, that's another story. But for the rest of those CRUD pages, you can go simple server side rendered.