-
Notifications
You must be signed in to change notification settings - Fork 593
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
Provide an update to work with @types/react@18
#565
Comments
@supasate hey, would be nice to have an official fix for this issue (I can create a PR for it if you want) |
See the following comment which has some helpful links:
|
We took the fast route and added a At some point we'll get rid of this package since it isn't maintained anymore. |
@txemaleon do you mean connected-react-router isn't maintained anymore? |
I'd say so based on the issues list and the lack of responses. |
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.In the company I'm working on recently updated to react 18 which no longer includes the
children
property for react components.This causes our CI Pipeline to blow up when checking types and makes our developer experience worse.
We had to update most of our type packages and some other packages with types included, but we were unable to update
connected-react-router
since it's already in the last version.We used
patch-package
to fix the problem really easily and we wanted to share the solution so you can apply the fix easily (or anyone who runs into this problem).Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
Cheers.
The text was updated successfully, but these errors were encountered: