Re:The “Developer Experience” Bait-And-Switch
by ahsanejaz on Wednesday September 12, 2018 @12:42AM
(#17965609)
JS is still required. Sending plain HTML is not the best path forward.
[ Parent
| on HN ]
Re:The “Developer Experience” Bait-And-Switch
by mercer on Thursday September 13, 2018 @01:13PM
(#17980374)
The idea in this case is that you'd have a bit of JS that would take care of updating the DOM, binding event handlers (which is specified and taken care of server-side), and so on.
How Phoenix.LiveView would do this exactly is still being worked on, but [Drab](https://github.com/grych/drab) will probably offer some inspiration.