-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用react 17 的ReactDOM.render(), 缓存成功, 但不支持react 18的版本 ReactDOM.createRoot() 缓存失败,请问有兼容方案? #151
Comments
报错的内容是啥? |
react-dom.development.js:22680 Uncaught Error: [mobx-state-tree] Value undefined is no MST Node |
看起来好像不是和 cache-route 直接相关的报错,有可能是 mobx 的错误吗? |
但是用react17的 ReactDOM.render 可以正常使用 ,下面错误还有
|
如果不用[react-router-cache-route 页面不会报错,正常使用 |
close DelayFreeze and export default Updatable will well. react-router-cache-route/src/core/Updatable/index.js Lines 10 to 44 in 5fd71d9
export default (props) => (
<Updatable {...props} />
) and why add freezeTimeout? |
切换路由从新回到已经切换的路由, 会报错
但用 ReactDOM.render()不会报错
The text was updated successfully, but these errors were encountered: