arvinxx / dumi-theme-antd-style

dumi-theme for antd-style site
https://dumi-theme-antd-style.arvinx.com
MIT License
76 stars 37 forks source link

👑 [需求] 支持低于 18 版本的 React #10

Closed CJY0208 closed 1 year ago

CJY0208 commented 1 year ago

🥰 需求描述

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

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

期望支持 16、17 版本 React

🧐 解决方案

PR:#11

🚑 其他信息

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 0.19.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: