4 ms·
> There’s no category winner like React as an alternative I'm really rooting for frameworks like Phoenix LiveView, Rails Turbolinks, Laravel Livewire to fill
by theonething 6y ago
> There’s no category winner like React as an alternative
I'm really rooting for frameworks like Phoenix LiveView, Rails Turbolinks, Laravel Livewire to fill this void. SPA like interactivity by just rendering HTML templates and sending them to the client via Ajax or websockets sounds great to me.
I wouldn't miss JavaScript one bit.
- correlator 6y agoRails turbolinks is magic!
- snazz 6y agoI quite like Turbolinks too, but it can have some unintended interactions with other JS code. If you're looking to make your non-SPA site faster another way, you can try https://instant.page/ https://instant.page/ as well. It preloads pages as you hover over them, which makes links feel like they load instantaneously. It's a pretty cool trick! You can try it out on their project website or on https://www.snazz.xyz https://www.snazz.xyz.
- pier25 6y agoCool trick! Sapper (the Svelte framework) does the same if I'm not mistaken.
- alessioalex 6y agoIndeed: https://hn.svelte.dev/ https://hn.svelte.dev/
- theonething 6y agoCurious if you (or anyone else) have used the ios and/or Android adapter for mobile? Seems like the repos are getting stale. Getting SPAness on web and mobile apps for free would be the holy grail. Basecamp claims it works great for their mobile app.
- scottharveyco 6y agoThe Android turbolinks version 1 adapter is now deprecated but a version 2 is meant to be coming soon. I believe it's going to come out after Basecamp's new product named Hey is released shortly.
- haidrali 6y agoI am waiting for it
- ksec 6y agoI think for Rails the more accurate counter part would be [1] Stimulus Reflex where it is actually modelled after Liveview. But yes, I really hope ( especially the new Phoenix 1.5 ) HTML wins back some mindshare in dev. [1] https://github.com/hopsoft/stimulus_reflex https://github.com/hopsoft/stimulus_reflex