Currently is tricky to hook light-viz app as a module to existing react app. The html element of class react-container must already exist in the time of loading of LightViz.js what is obviously not practical.
Would it be possible to move const container = document.querySelector('.react-container'); of app.js to function start(conn) similarly to pvw Visualizer?
Currently is tricky to hook light-viz app as a module to existing react app. The html element of class react-container must already exist in the time of loading of LightViz.js what is obviously not practical. Would it be possible to move
const container = document.querySelector('.react-container');
of app.js tofunction start(conn)
similarly to pvw Visualizer?