Using custom JavaScript on an element without hooks

I want to add a specific JavaScript on an object which is created by a LiveComponent but I don’t need a hook because I don’t care for any of the life cycle callbacks. Also, in case I want to add more than one Js capability, I would have to create a container for each hook, as multiple hooks are not supported. I assume it can get messy quite fast.

Is there any way to add the js without the hook?

1 Like