-
Notifications
You must be signed in to change notification settings - Fork 415
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
React 19 support #1431
Comments
Is this why I'm getting |
Not sure. I was getting
|
|
To be fair, this is not linaria's fault. https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-proptypes-and-defaultprops |
Yes just calling out here as it is relevant to the React 19 compatibility. There is no alternative api and the linked issue was closed because |
Now that react 19 is out this is a burning issue!
React 19 removed global
JSX
namespace from it's typings. As a result any styled component is typed asany
. #1420 addresses this issue.As a side note, the repo feels dead rn. Nothing was done in 9 months. Has linaria ran out of steam? Should we move on to a better supported solution?
As a workaround:
The text was updated successfully, but these errors were encountered: