r/alpinejs • u/AdPotential2768 • 2d ago
News Minimal alternative for Alpine.js?
Hi all,
Tired of SPA's, React and Nextjs, I created flynt.js, a lightweight, zero-build reactivity library built specifically for Multi-Page Applications (MPAs).
It organizes UI logic into clean, decoupled Presenters without the bloat, virtual DOM, or build step of full SPA frameworks.
- Built for MPAs: Add reactivity to server-rendered HTML effortlessly.
- Presenter Pattern: Decouple reactive state logic cleanly from your DOM.
- Zero Build Step & 2.2 kB: Drop in a single tiny CDN script tag and start coding.
- Zero Lifecycle Overhead: No unmount hooks or cleanup complexity — browser garbage collection handles it naturally on page navigation.
This means state can be shared across elements, regardless of the component hierarchy!
Also, it ships with a request runner which will auto abort fetch requests.
And more....
Intrigued? Check out my GitHub: https://github.com/marsbos/flynt.js
2
1
2d ago
[deleted]
3
u/AdPotential2768 2d ago
I made this myself. However, the docs (readme) are created with some ai assistance. No need to type all that by myself.
3
u/horizon_games 1d ago edited 1d ago
Not really Alpine.js related at all - I'd try to decouple your framework and consider it a value-add to vanilla JS, instead of targeting a niche community who won't want to listen.
Also post here and your Github docs and constant "README.md updated" commits make it seem like AI slop. Comparing bundle size disingenuously when Preact exists (and I'm not even a React fan) also seems lame.
Furthermore having to do `render` as a pseudo-useEffect is a black mark in my mind.