Earlier quoted context omitted.
> This is why I think semver is impossible to do in practice. The semver docs explicitly address this scenario. If a change in minor update breaks compatibility release a new minor update to revert the change.
It’s correct practice, but bad luck for anyone who ends up depending on the buggy behavior in 2.0.3. Their code will break when they upgrade to (say) 2.0.7.
Htmx 2.0.4 Released
111–120 of 136 posts
Re: Htmx 2.0.4 Released
#112Do some people have examples of interactivity they were able to replace with Htmx? For me, I've been able to get turbo style links with the boost to get nice page transitions. I can also see how I could use the class-tools extension to enable buttons to open dialogs etc. I'm curious to see when people say they needed an SPA for interactivity, what interactive features Htmx can already do and when do we need to break…
I wrote plain HTML, JS, and CSS and it worked great in all browsers and all devices and passed all kinds of audits necessary in the real world. Don't bother with libraries like this.
Re: Htmx 2.0.4 Released
#113Earlier quoted context omitted.
Sick and tired of any server-side rendering of web pages. If you don't have to deal with incident response you can be quiet. It doesn't scale and it complicates meeting any client requirements. Get this trash outta here. For real. Ummm... do you know where you are? Do you know how this works? Hint -- try "view source" right now. I made it easy for you by pasting a random snippet above...
I'm on a niche website full of people who are either too inexperienced to know what I mean or too managerial to give a fuck.
Re: Htmx 2.0.4 Released
#114Earlier quoted context omitted.
If I’m currently filtering some search data and hit refresh (or the browser tab went to sleep and wakes up, or restored after a reboot) I expect it to be in the same place without having to search and filter again.
https://en.m.wikipedia.org/wiki/Query_string
Re: Htmx 2.0.4 Released
#115Re: Htmx 2.0.4 Released
#116I tried to use HTMX to fix some of the plumbing in our bathroom and I’m very disappointed … it just isn’t fit for purpose. I’m sticking with React
Same. Tried to write a boot loader in HTMX. Wish I’d used React instead.
Re: Htmx 2.0.4 Released
#117Earlier quoted context omitted.
I tried HTMX but found it too restricting. It's great if you just want to load a portion of the page. Maybe if you have an up-vote, just send the request and replace the icon with a gold icon. But I want things like an on-site calculator. I load in products and prices, users can adjust sliders to change the quantity and relevant number is calculated. I don't want to use HTMX for this to call the server each time, I w…
Because HTMX is declarative and the declaration is in HTML, people have weirdly extended the "no need for js+json+rendering for ajax" to "don't use js". This is making your life needlessly difficult. HTMX is just a fancy ajax layer with a little event handling sprinkled on top. You can and should script to your heart content even if you use it, when you need so. I use js in all most of my HTMX powered pages. Sometime…
My point is that if you are going to use a JS framework then it will do the same as HTMX and I don't have to remember where to draw boundaries of responsibility.
Re: Htmx 2.0.4 Released
#118Earlier quoted context omitted.
I tried HTMX but found it too restricting. It's great if you just want to load a portion of the page. Maybe if you have an up-vote, just send the request and replace the icon with a gold icon. But I want things like an on-site calculator. I load in products and prices, users can adjust sliders to change the quantity and relevant number is calculated. I don't want to use HTMX for this to call the server each time, I w…
This kind of use case is where you’d use Alpine instead of HTMX (if you’re going for the no-build approach). It has everything you’d need for this, client-side store, etc. Alpine is basically light weight, no-build Vue. HTMX is really only about swapping out the elements on the page and pushing updates to the server, which in this case might just be lazy loading the calculator component that contains Alpine attribute…
Re: Htmx 2.0.4 Released
#119Earlier quoted context omitted.
It’s correct practice, but bad luck for anyone who ends up depending on the buggy behavior in 2.0.3. Their code will break when they upgrade to (say) 2.0.7.
This would make sense if 2.0.3 was released long enough ago for people to start using and relying on a bug, but it was released less than 2 months ago...
Re: Htmx 2.0.4 Released
#120what is the selling point of htmx? why use it versus ...?
https://htmx.org/essays/a-real-world-react-to-htmx-port/
how to determine if it is appropriate: