-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Warning with React Hooks order #2945
Comments
I had done a search, but unfortunately the related ticket had a screenshot of the error, so a search didn't show it up. I think that if this patch is accepted it should address the issue. Although, being new to this world, I don't see that file in my rjsf package and so I'm not sure how to test it myself. |
Looks like the same issue. Not aware of other theme, file I reported issues on is part of MUI5 wrapper for RJSF, so it is related specifically to PR for MUI5 support. |
In the upcoming rjsf v5 release, this issue will be moot as the hooks used to make the v4 and v5 releases co-exist will be gone. Instead, the |
Same here with 4.2.2, and mui 5.
|
Fixed in v5 beta via new |
Prerequisites
What theme are you using?
material-ui
Version
4.2.2
Current Behavior
Running a pared down version of the
schema-dependencies
example from the playground in my own instance with material-ui v5 I'm getting the following react error when I clickAdd Item
.And here is the minimal example
index.js
:Expected Behavior
I wouldn't expect to get the React error that I got.
Steps To Reproduce
src/index.js
public/index.html
contain a<div id="root"></div>
Environment
Anything else?
I think it may work with other themes, might be a material UI v5 issue. But I'm on an isolated network and don't have access to other themes that work. I can't get it to replicate on the shared playground version though, so I'm not sure what to make of that.
The text was updated successfully, but these errors were encountered: