-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
Unexpected ra-core upgrade #6346
Comments
My question is that why are you importing it from |
I cannot reproduce the issue, please include a link to a codesandbox/repository showing the problem. |
@andrei9669 the
I'll try removing that dependency and maybe even switch over to |
So you probably have a dependency on another version of ra-core than the react-admin package, causing npm to add ra-core twice. React contexts don't work well when there are two instances of a library, and this would likely cause the problem you're seeing. Anyway, as the problem seems to be in your code and not react-admin's, I'm closing this issue. Feel free to reopen if you can reduce it to a react-admin bug. |
Actually I had |
I opened up React-Admin on my dev rig and got the error below:
My package.json is:
Upgrading to 3.16.0 fixed the issue. But I think we shouldn't have these kind of upstream updates. And I was under the impression that fixing issue #5979 would resolve these kinds of unexpected package bumps.
Is there something I am missing?
The text was updated successfully, but these errors were encountered: