My scenario is little different. I have multiple widget on my page each has a minified js file which will render content (HTML).
I have list of widget from server and all js file will render on page load.
My question is how can i find a placeholder for my widget? I have minified Js file but how can i pass props into that so js file know the place where content needs to render.
I can modified minified js file but can not include in my bundle. It should be separate.
Js file render on demand and component also render on demand but no relation between them, Although js file understand the component and render content inside it.