I was wondering, why tags, which were loaded in a turbo-frame arent evaluated.
It seems that the script elements are lost in
activateElement(), when cloning the retrieved frame:
element = document.importNode(element, true);
I wanted to render a ReactOnRails component in the frame. The gem solved that using those script tags.
Did nobody encounter such an issue yet?
Or does anybody have an idea how I could work around this issue?