Skip to content
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-redux 到 v7 #45

Closed
Diablohu opened this issue Dec 5, 2018 · 4 comments
Closed

升级 react-redux 到 v7 #45

Diablohu opened this issue Dec 5, 2018 · 4 comments
Labels

Comments

@Diablohu
Copy link
Member

Diablohu commented Dec 5, 2018

https://github.com/reduxjs/react-redux/releases/tag/v6.0.0

已知问题

"Tearing"

@Diablohu Diablohu added the enhancement New feature or request label Dec 5, 2018
@Diablohu Diablohu changed the title 升级 react-redux 到 v6 升级 react-redux 到 v7 Apr 4, 2019
@Diablohu
Copy link
Member Author

Diablohu commented Apr 8, 2019

react-redux v7 官方宣称解决了 Tearing 问题,需要更多测试

@Diablohu
Copy link
Member Author

Diablohu commented Apr 8, 2019

v7 中 @connect 使用 Hook 重写,react-router 必须更新 (#7)

@Diablohu Diablohu added overhaul and removed enhancement New feature or request labels Apr 8, 2019
@Diablohu
Copy link
Member Author

尝试根层组件里的 Providerreact-router 组件顺序对调,如果成功,可不用升级 react-router

@Diablohu
Copy link
Member Author

react-router v3 仍在维护,新版本已支持新的 React 语法,测试可用

9b31bd3

@Diablohu Diablohu reopened this Mar 22, 2020
Diablohu added a commit that referenced this issue Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant