-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
v10: Drop usage of deprecated React types #2560
Conversation
The I wonder - is this blocking MUI anyhow? The PR is targeting the v10 line - I will probably backport all (most?) React 18 work when it actually gets released as a stable version but nothing has been done towards this goal yet. Taking up on the occasion - are you considering doing this as part of the React 18 types? |
Note that you unfortunately don't declare
It's blocking the DefinitelyTyped repo. Some types for Storybook related addons pull in Emotion V10.
There isn't enough information there to draw up an actual plan. What is the current behavior? What is the expected behavior? What are you doing right now? I would suggest opening a dedicate issue that goes into more detail why the current behavior is a problem and how we could remedy that. And what the implications are for existing code. |
For completeness of this offtopic discussion here - I've created a discussion in the DefinitelyTyped repo here: DefinitelyTyped/DefinitelyTyped#57377 |
🦋 Changeset detectedLatest commit: 29f52ea The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
What:
Fixes breakage with planned React 18 types e.g. https://github.com/DefinitelyTyped/DefinitelyTyped/runs/4279099932?check_suite_focus=true#step:6:2266
Why:
We plan to remove deprecated types in React 18. Since Emotion v10 peer dependencies will allow React 18, the types should not break.
Planned changes: DefinitelyTyped/DefinitelyTyped#46691
Current progress: DefinitelyTyped/DefinitelyTyped#56210
How:
Replace
SFC
withFC
Checklist:
[ ]Documentation