You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have to plan to do this in the next major version that will only be compatible with React 19 (at least that's my current line of thinking about this).
Current behavior:
emotion/packages/styled/src/base.js
Line 183 in 73f6881
Expected behavior:
No copy.
Context
React 19 is removing this prop, https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-proptypes-and-defaultprops since it was deprecated 5 years ago: facebook/react#16210.
I think that at one point, we will want to remove this line to save bundle size and avoid confusion like in mui/mui-x#11531.
Environment information:
react
version:@emotion/react
version:The text was updated successfully, but these errors were encountered: