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

✨ feat: 支持 18 以下的 React 版本 #11

Merged
merged 1 commit into from
Mar 19, 2023

Conversation

CJY0208
Copy link
Contributor

@CJY0208 CJY0208 commented Mar 16, 2023

目前主题包的 peerDependencies 仅要求 "react": ">=16.8"

但因为 src\components\StoreUpdater.tsx 文件内使用了 React.startTransition 方法,目前主题包实际上必须依赖 react 18+

此 PR 主要提供 16、17 版本 React 支持,参见 #10

@vercel
Copy link

vercel bot commented Mar 16, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @arvinxx on Vercel.

@arvinxx first needs to authorize it.

@vercel
Copy link

vercel bot commented Mar 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
dumi-theme-antd-style ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 17, 2023 at 1:38AM (UTC)

@arvinxx
Copy link
Owner

arvinxx commented Mar 19, 2023

Thanks~

github-actions bot pushed a commit that referenced this pull request Mar 19, 2023
## [0.19.3](v0.19.2...v0.19.3) (2023-03-19)

### 🐛 修复

* 支持 18 以下的 React 版本 ([bde6e23](bde6e23)), closes [#11](#11) [#10](#10)
@github-actions
Copy link

🎉 This PR is included in version 0.19.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants