There are no dependencies and no build process. It's simple and lightweight. There is no shadow DOM, no virtual DOM diffing, and function binding is optimized for larger applications.
Popstart offers a straightforward visual representation of exactly what events are tied to which objects and it's very fast, even with thousands of objects on-screen and off. It's optimized for SPA's, but works well with page-oriented applications as well.
Here's an example to send a completed form to the server via AJAX:
Draws inspiration from AlpineJS, HTMX, Angular, and even jQuery and Moo from back in the day, so if this isn't what you're looking for, check out one of those or one of the heavier alternatives like Vue/React.
It would be easy to code as a helper, but FYI there is no router right now.
There are no dependencies and no build process. It's simple and lightweight. There is no shadow DOM, no virtual DOM diffing, and function binding is optimized for larger applications.
Popstart offers a straightforward visual representation of exactly what events are tied to which objects and it's very fast, even with thousands of objects on-screen and off. It's optimized for SPA's, but works well with page-oriented applications as well.
Here's an example to send a completed form to the server via AJAX:
Draws inspiration from AlpineJS, HTMX, Angular, and even jQuery and Moo from back in the day, so if this isn't what you're looking for, check out one of those or one of the heavier alternatives like Vue/React.It would be easy to code as a helper, but FYI there is no router right now.