Canvas doesnt show anything in codesandbox

I am trying to add core babylon into react and it seems that It does render the canvas, but the cube that should be inside doesnt load (canvas is all white and is visible in devtool).
This is my codesandbox.
Why my canvas doesnt show anything?

You are missing a render loop. Adding this after the scene creation will work:

engine.runRenderLoop(() => {

Of course it can be implemented better, it’s just the only thing missing…


Oh thanks you.