You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I programmatically include a <script> tag with a webpack entrypoint, the runtime executes it the first time. However, if I then remove that script and re-insert it, it does not run again. Presumably this is due to runtime module caching, or something? However, I need this script to re-run every time it is reinserted into the DOM. How can I achieve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I programmatically include a
<script>
tag with a webpack entrypoint, the runtime executes it the first time. However, if I then remove that script and re-insert it, it does not run again. Presumably this is due to runtime module caching, or something? However, I need this script to re-run every time it is reinserted into the DOM. How can I achieve this?Beta Was this translation helpful? Give feedback.
All reactions