-
Notifications
You must be signed in to change notification settings - Fork 26
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 has detected a change in the order of Hooks called by JsonNode" #46
Comments
Can you provide a codesandbox for a review. |
Hi @YYsuni
I think the reason is that you are using hooks inside a condition expression, which causes this error: react18-json-view/src/components/json-node.tsx Lines 60 to 65 in cc87705
|
I got this error as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting react warnings in my dev console in some case where I use
JsonView
. Anyone know how to prevent this?The text was updated successfully, but these errors were encountered: