How to put js after DashRenderer() in Dash?

It is probably loaded before (all files in the assets folder are) and after (via the import component) react loads. If possible, the easiest would be just to load the js code via an external url. Alternatively, you can use the flask server to serve the js code.

EDIT: You could also try the ignore option,