4 ms·
>a video by fireship dev (https://www.youtube.com/watch?v=r-GSGH2RxJs https://www.youtube.com/watch?v=r-GSGH2RxJs) That's a great video explaining the core use
by javajosh 3y ago
>a video by fireship dev (https://www.youtube.com/watch?v=r-GSGH2RxJs https://www.youtube.com/watch?v=r-GSGH2RxJs)
That's a great video explaining the core use-cases of htmx in 100 seconds. Would be great if all projects had such a thing! Htmx reminds me of tailwind in that you've created a set of attribute names and values that are picked up at runtime by a singular library. There's no front-end build required, which is a Very Big Deal for most devs who don't want (and shouldn't have to) to mess with npm and webpack. It looks like the "breaking point" for page size is something like a small SPA - when it gets to big, make another SPA.
Particularly for react/vue devs I think the thing they'll miss is the idea of a uniform, singular object representing global state that is rendered by a single function (defined hierarchically in your component codebase) into the UI. However, it must be accepted that this idea is very demanding in itself, resulting in lots of opinions and hurt feelings, and in addition comes with the weight of a front-end build (and all the confusing variation there).
I don't use it but I'm already a big fan. Congrats!