August 2024
Intermediate to advanced
186 pages
4h 3m
English
With all those recipes in your tool belt, you should feel confident in your ability to use htmx to send all kinds of requests to the server and update pages with the responses. The primary focus of htmx is sending HTTP requests to server endpoints in response to events. But not every user interaction requires sending data to the server. Sometimes the logic can remain in the browser.
By implementing client-side logic, you’ll be able to avoid round trips between the browser and the server. This will result in faster interactions and reduced network traffic.
You have many options for implementing client-side interactivity. Consider using interactive HTML elements like details and dialog. Other options include ...
Read now
Unlock full access