How to change canvas but save engine, scene and cameras

I am creating app with React. User can open menu so canvas gets removed by React and then user closes menu and React renders new canvas. But I need to remain everything I have on scene (cameras and meshes). I tried to create new engine and also I tried set new canvas to old engine but no luck :frowning:

Can’t you manage the canvas yourself and not let React do it? Once you create an engine with a canvas, I don’t think you can change it afterward…