News for hackers. Stuff that matters.
Re:Htmx Is Composable? by infamia on Wednesday January 17, 2024 @12:30PM (#39030736)
> I am confused about htmx because if it is about AJAX, they don't replace the window URL as user clicks about and around unless you explicitly tell HTMX to do so.

When you use `hx-boost` (one of the most common uses), it does an ajax request, updates all the child elements, and updates the URL in the browser automatically.

Re:Htmx Is Composable? by hipadev23 on Wednesday January 17, 2024 @01:59PM (#39031872)
This needs to be higher. Works normally without JS enabled and doesn't require any header fiddling. By far the easiest way to integrate htmx while keeping a consistent user experience.
Re:Htmx Is Composable? by thunderbong on Thursday January 18, 2024 @07:25AM (#39040871)
How the heck does HTMX work without JS? And in this specific example, they're making an Ajax call! Also, the 'j' in Ajax stands for 'javasxript'
Re:Htmx Is Composable? by hipadev23 on Thursday January 18, 2024 @12:14PM (#39044421)
It doesn’t? Your site still does is the entire point.