Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 5ee9d3d:
|
I've used From your comment, I realized that we probably also need to define Edit: I think I understand what happened, since |
|
Yeah I don't think this ever worked for versions where TypeScript should error if you try to import something that doesn't exist. We probably need to Let's double check this works in versions without |
|
And we also need |
|
Using |
|
Following your idea @eps1lon, I've created this repo for repro: https://github.com/MatanBobi/rtl-deprecated-act-repro
|
eps1lon
left a comment
There was a problem hiding this comment.
Works: https://github.com/eps1lon/rtl-deprecated-act-repro
Only errors on an error specific to older versions of @types/react.
|
@eps1lon Related docs PR: |
|
Yesss thank you. This helped me. When I saw your post, I downloaded the latest version and my program started running, no warning after that. Tyty
|
Resolves #1316
What: This PR exports the correct act if available to avoid deprecation warnings.