I don’t think “phx-ignore” will help you much if the JS is that inflexible. The JS will only ever be loaded once, so it will never apply to any elements you add to the DOM later, no matter if they have phx-ignore
on them or not. I’ve seen people defer to iframes to make things work with “embed js”, but really to me the issue here is JS libraries, which apply their functionality only on script or page load. They’ll break with any client side rendering done no matter the concrete tooling.