Hx
Use htmx like patterns with data-hx="config options"!
All parameters are passed directly as a simple config string in the data-hx parameter.
This is easier (and less
verbose) than having to use data-hx-something, data-hx-other...
You can set the method with the method parameter (default is GET for links, POST for the rest). Trigger can be set
with trigger parameter
(default is submit for forms, change for inputs, click for all other elements).
There is no way to "boost" in our approach because we don't want to break locality of behaviour. In general, this approach is (currently) more limited in scope than htmx.
Notice how loaded elements have their new behaviour attached automatically.
Demo
These demos only work locally on local test server.