Switch to canvas from react