@jimmybow - did you end up figuring this out? append_scriptshould work although the document.getElementById might be referring to an ID that hasn’t yet rendered on the page itself.
I haven’t experimented with using html.Script itself either.
from my try, html.Script() is not available…, I don’t know the reason… ,
append_script is available , but it can’t change the content in app.layout (from react.js)…
the way i only can do is build a new dcc to run javascript …
Yeah I’m having a problem with a script that relies on an Id that has not been rendered yet. Using the html.Script tag (rendered at a later date) doesn’t seem to work, does the Script tag even do anything atm?