-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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-is] The major versions of react and react-is must be peerDependencies related. #22640
Comments
...When I think about it again after creating this issue, it seems to be a problem with react 17. |
See #20099 for prior discussions. |
@eps1lon
This was the original point I brought the discussion from downstream to here.
And this is... uh... because I'm reading the discussion using a translation? I'm having a hard time interpreting this. |
Yes. Dan was saying this. |
...React-is currently plays the role of checking for react elements in the ecosystem (and I think it's often used as a partial reference to the react internal spec, but that's another story), so what packages should be used instead? |
(This is not directly related to React 18, but it is a discussion about breaking changes, so I'm proposing it as a topic for the next major release.)
Clearly react-is works on the assumption that it will be used with a matching version of react.
Therefore, react should be listed as a peerDependencies of react-is.
I brought this up from a discussion involving a package that depends on react-is downstream.
The text was updated successfully, but these errors were encountered: