Skip to content
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: findDOMNode is deprecated in StrictMode. #215

Open
rubsie opened this issue Oct 18, 2021 · 6 comments
Open

Warning: findDOMNode is deprecated in StrictMode. #215

rubsie opened this issue Oct 18, 2021 · 6 comments

Comments

@rubsie
Copy link

rubsie commented Oct 18, 2021

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node

at div
at Transition (http://localhost:3002/static/js/vendors~main.chunk.js:141255:30)
at Fade (http://localhost:3002/static/js/vendors~main.chunk.js:134172:19)
at Alert (http://localhost:3002/static/js/vendors~main.chunk.js:130584:25)
at div
at FormBuilder (http://localhost:3002/static/js/vendors~main.chunk.js:46449:21)
at div
at FormCreator (http://localhost:3002/static/js/main.chunk.js:599:77)

@raymond-lam
Copy link
Collaborator

@rubsie Do you have steps on how to reproduce this warning?

@rubsie
Copy link
Author

rubsie commented Nov 9, 2021

@raymond-lam
I have just started a new project with your code. I'll invite you to the repository, please see the development branch. I get these errors on page load (click formbuilder in the top menu)
https://github.com/rubsie/simple-dashboard/tree/development
It only gives the error when running via IntelliJ IDE, not when deployed to githubpages

@raymond-lam
Copy link
Collaborator

@rubsie I believe this warning is emanating from reactstrap. Let see if a newer version of reactstrap solves this. #235

@raymond-lam
Copy link
Collaborator

@rubsie If you upgrade to the latest react-json-schema-form-builder and use reactstrap 9.x.x/bootstrap 5, does this warning still occur for you?

@rubsie
Copy link
Author

rubsie commented Dec 5, 2021

Hi Raymond, it does still occur with Bootstrap 5, React Bootstrap 2 and Reactstrap 9. It happens when I just load the PlaygroundContainer.

@raymond-lam
Copy link
Collaborator

@rubsie I can't get the simple-dashboard app to render -- I get an error that says 'ERROR: no connection to database" in the console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants