8000 chore: upgrade to React 19 by li-jia-nan · Pull Request #2775 · alibaba/hooks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: upgrade to React 19 #2775

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.

Alre 8000 ady on GitHub? Sign in to your account

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

chore: upgrade to React 19 #2775

wants to merge 30 commits into from

Conversation

li-jia-nan
Copy link
Collaborator
@li-jia-nan li-jia-nan commented May 4, 2025

🔗 Related issue link

📝 Changelog

  1. React 版本升级到 v19

    • 主要是 useRef 的 type 类型更新
    • 本地 react & react-dom 版本升级到 v19
    • 对等依赖 peerDependencies 更新,同时兼容 v16 v 8000 17 v18 v19
    • 其它语法向下兼容,无 breaking change
  2. React-Router 兼容 v7

    • 对等依赖 peerDependencies 更新,同时兼容 v5 v6 v7
Language Changelog
🇺🇸 English chore: upgrade to React 19
🇨🇳 Chinese chore: upgrade to React 19

@CLAassistant
Copy link
CLAassistant commented May 4, 2025

CLA assistant check
All committers have signed the CLA.

@li-jia-nan li-jia-nan changed the title chore: compatible React 19 chore: upgrade to React 19 May 4, 2025
@li-jia-nan li-jia-nan requested a review from crazylxr May 5, 2025 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0