4 ms·
JS is still required. Sending plain HTML is not the best path forward.
by ahsanejaz 8y ago
JS is still required. Sending plain HTML is not the best path forward.
- mercer 8y agoThe 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 https://github.com/grych/drab) will probably offer some inspiration.