Imho, custom elements are great, but very limited in a way that they almost always require knowledge of the domain.
Perhaps I can figure out a way to combine mador.js & custom elements.
65 karma · joined July 18, 2025
Imho, custom elements are great, but very limited in a way that they almost always require knowledge of the domain.
Perhaps I can figure out a way to combine mador.js & custom elements.
I built Flynt.js to solve a common pain point in Multi-Page Application (MPA) setups like Magento/Hyvä, Laravel, and Rails: managing complex UI state without polluting HTML templates with heavy inline JS logic or dragging in massive framework bundles.
Key features: - Zero-build & Lightweight: ~150 lines of plain JS, zero dependencies. - Clean HTML (Presenter Pattern): Decouples logic into JS Presenters instead of heavy inline template attributes. - 100% Strict CSP Compliant: Never uses eval() or new Function(). - Native-friendly: Built-in automatic request aborting (no race conditions) and key-based DOM diffing for lists.
Currently working on a form extension for native HTML5 validation handling.
Would love to hear your feedback, thoughts, or suggestions!
Thanks for the interest in fluent-state.
Just a quick note: for easy installation and trying out the demo, check out these links:
NPM: https://www.npmjs.com/package/fluent-state
Demo: https://stackblitz.com/edit/vitejs-vite-uh4kyzkf?file=src%2F...
The GitHub repo is still available here for source and issues: https://github.com/marsbos/fluent-state
Happy coding!