Tech
Building Reactive MPAs in 2KB: Meet Flynt.js
Why I Built Flynt.js: Reactivity Without Messy HTML Clutter
If you build Multi-Page Applications (MPAs) using Laravel Blade, Twig, or classic SSR, you've probably used Alpine.js. It's awesome for quick reactivity, but as your components grow, your HTML quickly turns into this:
<!-- The Alpine.js HTML clutter we all know... -->
<div x-data= "{ open: false, items: [], fetch() { ... } }" x-init= "fetch()" >
<button @ click= "open = !open" :disabled= "...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to