If you are someone who used render_existing
to dynamically include js libs to your phoenix app, what do you do for LiveView to achieve the same goal?
1 Like
Hello! I’m wondering what the solution was here? I’m in a similar scenario where I want to include JS libs based on the LiveView.
The solution was to use JS hooks
https://hexdocs.pm/phoenix_live_view/js-interop.html#client-hooks-via-phx-hook