Re:Vue.js Creator Evan You Interview
by brightball on Wednesday September 09, 2020 @10:39AM
(#24421505)
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.
Yes, 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
- Laravel Livewire: https://laravel-livewire.com/
- Rails Stimulus Reflex: https://docs.stimulusreflex.com/
- Intercooler.js: https://intercoolerjs.org/
Re:Vue.js Creator Evan You Interview
by brightball on Wednesday September 09, 2020 @12:21PM
(#24422620)
I’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.
Woah I had no idea that existed.
Here's a great introduction to LiveView:
This one's also pretty good: https://www.youtube.com/watch?v=MZvmYaFkNJI&t=1s (Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5)
Re:Vue.js Creator Evan You Interview
by Aperocky on Wednesday September 09, 2020 @09:53AM
(#24420970)
> server rendered content and sprinkles of JavaScript where needed.
Nice. We need more of this.
Re:Vue.js Creator Evan You Interview
by dimitrios1 on Wednesday September 09, 2020 @10:19AM
(#24421239)
Oh well wait until you hear about Laravel. I appreciate that there is still such a large developer community committed to pushing traditional server-rendered web apps forward. Laravel has some amazing stuff for creating presentation layers within the framework, the most exciting (to me) is Livewire
For what it's worth, LiteDOM is a nice, small (3kb) library to enhance HTML templates with a bit of declarative reactivity:
I've primarily moved over to Django with server rendered content and sprinkles of JavaScript where needed.