-
Notifications
You must be signed in to change notification settings - Fork 378
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
upgrade React18 #1991
upgrade React18 #1991
Conversation
Feature/react 18
refactor: 修复升级 react 18版本 typeScript 类型问题
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
主要看下为啥 props 有两种写法
packages/zent/src/date-range-quick-picker/DateRangeQuickPicker.tsx
Outdated
Show resolved
Hide resolved
packages/zent/src/form/form-components/TimeRangePickerField.tsx
Outdated
Show resolved
Hide resolved
refactor: Refactor the use of PropsWithChildren
fix: restore Directive.tsx code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
剩下没有resolve的问题再看下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes you made in this pull request:
react
、react-dom
dependency to ^18.2.0@types/react
、@types/react-dom
dependency to ^18.0.0