Up to this point the UI has been built in pure DOM API which requires zero dependency but can sometimes be frustrating to work with, especially when organizing the code structure.
Alpine.js is a lightweight UI framework on HTML that modifies the DOM itself. Much like HTMX but for front-end only.
It worths at lease some experiments on Alpine.js to see if it makes the problem easier.
Summary
Up to this point the UI has been built in pure DOM API which requires zero dependency but can sometimes be frustrating to work with, especially when organizing the code structure.
Alpine.js is a lightweight UI framework on HTML that modifies the DOM itself. Much like HTMX but for front-end only.
It worths at lease some experiments on Alpine.js to see if it makes the problem easier.
https://alpinejs.dev/