3 ms·
Nice project, always interesting to see HTMX-inspired frameworks. If you want something even more minimalistic, I did Swap.js: 100 lines of code, handles AJAX
by josephernest 7mo ago
Nice project, always interesting to see HTMX-inspired frameworks.
If you want something even more minimalistic, I did Swap.js:
100 lines of code, handles AJAX navigation, browser history, custom listeners when
parts of DOM are swapped, etc.
https://github.com/josephernest/Swap.js https://github.com/josephernest/Swap.js
Using it for a few production products and it works quite well!
- amaury_bouchard 7mo agoNice! 100 lines is impressive. µJS is a bit more feature-rich (patch mode, SSE, DOM morphing, View Transitions...) but if you need something truly minimal, Swap.js looks like a great option.