-
Hi! I have implemented tabs using react-router and I get an this error when switching the page:
noticed if you turn off the canvas concurrent mode, the error disappears. Please help, why is this happening, and is it possible how to solve it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
would need a very-reduced codesandbox for testing to track this down. concurrent mode is async so it's got to be related, it's trying to run something although the canvas isn't there anymore. but generally, routes destroying the canvas is not the best idea. keep the routes inside a mounted canvas and exchange contents: https://twitter.com/0xca0a/status/1322897740435759107 |
Beta Was this translation helpful? Give feedback.
-
i just realize this is v5. i dont get any of these problems in v6 - i guess its fixed @joshuaellis |
Beta Was this translation helpful? Give feedback.
i just realize this is v5. i dont get any of these problems in v6 - i guess its fixed @joshuaellis