Using react-editor-js with react-router-dom v6.20.1 displays the editor for a split second, then it's removed.
Removing react-router-dom renders the editor correctly.
In the CodeSandbox link, click the button (go to /editor and go to root /) to see the behaviour.
Environment
CodeSandbox
https://codesandbox.io/p/sandbox/react-editor-js-v2-forked-rpg3yt
Describe
Using
react-editor-js
withreact-router-dom
v6.20.1 displays the editor for a split second, then it's removed. Removingreact-router-dom
renders the editor correctly.In the CodeSandbox link, click the button (
go to /editor
andgo to root /
) to see the behaviour.