Using liveView with 3rd party JS and render_existing

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?

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.

This thread might point you in the right direction.

The solution was to use JS hooks