4 ms·
Unpoly is awesome, and I think deserves more recognition. Having said that I recently moved to Alpine JS (plus Turbolinks) and I think that also deserves more r
by chrisrickard 6y ago
Unpoly is awesome, and I think deserves more recognition. Having said that I recently moved to Alpine JS (plus Turbolinks) and I think that also deserves more recognition https://github.com/alpinejs/alpine https://github.com/alpinejs/alpine
- ComputerGuru 6y agoAh, yes, that’s the other one I was trying to remember. Can you explain your switch and the library choice a bit more? Turbolinks seems to me to be a very primitive version of Intercooler/Unpoly.
- chrisrickard 6y agoYup, so this is really for my use case - but essentially unpoly was great, but after a while I started having a lot of custom compilers for specific things.. And again, that's fine - but I was really trying to have less custom JS code off in seperate files. Turbolinks gave me the super simple ajax page-refresh concept, and Alpine allowed me to move my JS functionality inline.. which I actually like (for now!). I actually use Alpine with Laravel Livewire for some more server-side functionality that seems like magic (similar to Phoenix LiveView) https://laravel-livewire.com/docs/quickstart https://laravel-livewire.com/docs/quickstart
- ComputerGuru 6y agoThanks for taking the time to share. It’s appreciated.