3 ms·
This is the appeal of Phoenix LiveView for me. Server rendering was already incredibly fast with Phoenix, but the ability to forgo the majority of JS with LiveV
by brightball 6y ago
This is the appeal of Phoenix LiveView for me. Server rendering was already incredibly fast with Phoenix, but the ability to forgo the majority of JS with LiveView bypasses all of these framework complications.
- pier25 6y agoWoah I had no idea that existed. Here's a great introduction to LiveView: https://www.youtube.com/watch?v=U_Pe8Ru06fM https://www.youtube.com/watch?v=U_Pe8Ru06fM
- mercer 6y agoThis one's also pretty good: https://www.youtube.com/watch?v=MZvmYaFkNJI&t=1s https://www.youtube.com/watch?v=MZvmYaFkNJI&t=1s (Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5)
- brylie 6y agoYes, LiveView is very exciting, although I haven't used it. For those interested in LiveView-esque functionality in other frameworks , there are some similar projects cropping up: - Django Reactor https://github.com/edelvalle/reactor https://github.com/edelvalle/reactor - Laravel Livewire: https://laravel-livewire.com/ https://laravel-livewire.com/ - Rails Stimulus Reflex: https://docs.stimulusreflex.com/ https://docs.stimulusreflex.com/ - Intercooler.js: https://intercoolerjs.org/ https://intercoolerjs.org/
- brightball 6y agoI’d be very curious if those can be implemented in a performant way. There’s a combination of low level features that combine to make LiveView work effectively.