HTMX looks pretty neat
If you’re a developer who loves coding in JavaScript, you’ve probably heard of HTMX. This library is gaining traction for its ability to create smooth, interactive web applications with minimal effort.
HTMX is a lightweight JavaScript library that allows developers to create dynamic web pages using HTML attributes. With HTMX, you can easily perform AJAX requests, manipulate the DOM, and update the page content without having to write a lot of complex JavaScript code.
One of the key features of HTMX is its simplicity. You can add HTMX attributes to your existing HTML elements to enable dynamic behavior, such as loading new content when a button is clicked or submitting a form without a full page refresh.
HTMX also integrates seamlessly with other JavaScript libraries, such as jQuery and Bootstrap, making it easy to enhance your existing web applications with dynamic features.
Overall, HTMX is a great tool for developers who want to create modern, interactive web applications without getting bogged down in complex JavaScript code. If you haven’t tried it yet, give HTMX a shot and see how it can streamline your web development workflow.
So, whether you’re a seasoned JavaScript developer or just getting started, HTMX is definitely worth checking out. Its simplicity, performance, and flexibility make it a valuable addition to any developer’s toolkit. Give it a try and see for yourself!
You can have a select element with a hx-get attribute and when you change it it automatically sends a get request!
Have a list and want a filter option?
<select name="filter" hx-get="/list" hx-target="#list" hx-swap="outerHTML">
…
It's a JavaScript library??? I dont think so
lightweight version of react, I would say
looks ugly, ofc add some tailwind on top for more unreadability. Separation of concerns who cares, right. Next step they'll add sql inline to html lol. Why suddenly writing all inline and obscure became good, imagine how to support and scale this.
I’d love to see a more in-depth video on using blades and htmx together with layouts, components, and pages
Is this modern PHP?
How do you handle errors or other api call events?
what was that?
Sounds like a solid idea to improve multi-page applications but a terrible idea to improve single-page applications.
Offline use ? No! Latency dependent app on every button click ? yeeess!!
Too much magic
Elon Musk is a pioneer LMFAO.
htmx and alpine + Rust or Go is so good
It has massive security leaks, vulnerable to xhr attack
Looks like a great way to make spaghetti
Enjoy including html into your data
Love the poling example with hx-trigger='every 1s'.
Amazing
Surprised how this is gaining traction now. Been using HTMX for 3 years now.
Htmx + alpine or hyperscript is much better than something like react for almost all regular websites. As long as you use a backend that render html, something like django.