Replies: 2 comments 8 replies
-
加上的是 data browser router 的 Prompt ,目前 umi 4 内部用的是 browser router ,升级了 react router 也用不了的。 暂时解决方案:#10237 (reply in thread) |
Beta Was this translation helpful? Give feedback.
7 replies
-
umi4下有什么办法实现history.listen么? umi3的时候useLocation返回的值会带有listen |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
react-router在v6之后移除了Prompt的功能,之后又在6.7.0版本重新加入了此功能,而目前umi讲react-router版本固定在了6.3.0,可否将版本升级到6.7.0以上来支持Prompt功能
Beta Was this translation helpful? Give feedback.
All reactions