-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
update types for react 18 #1667
update types for react 18 #1667
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
2c5e7e9
to
d6a1cfd
Compare
74b2f41
to
8f87468
Compare
@@ -6,6 +6,86 @@ import { NetworkProvider } from 'providers/NetworkProvider' | |||
import '../styles/antd.css' | |||
import '../styles/index.scss' | |||
|
|||
<<<<<<< HEAD |
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.
My editor shipped with this new thing, https://code.visualstudio.com/updates/v1_69#_3-way-merge-editor.
I thought it resolved conflicts, but I guess not. Will update this PR's conflicts
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.
Will create a new PR
What does this PR do and why?
Updates types for React 18 this diff fixes all type errors from types.
Note: I think it makes sense to merge this diff into #1647 so cli will pass.
In order to do so, there were a couple of steps that needed to be taken:
types-react-codemod preset-18 ./src
more here: https://github.com/eps1lon/types-react-codemod#implicit-children@types/react-redux
it's no longer needed, more here: react-redux installs @types/react@18 reduxjs/react-redux#1898 (comment)Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist