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

Getting : Warning: A string ref, "resizeObject", has been found within a strict mode tree #40

Open
pinkbrainlover opened this issue Jun 23, 2020 · 1 comment

Comments

@pinkbrainlover
Copy link

Warning: A string ref, "resizeObject", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref
in div (created by Panel)
in Panel (created by PanelGroup)

@faassen
Copy link

faassen commented Jul 29, 2020

Note that you only see this is you enable React.StrictMode.

https://reactjs.org/docs/strict-mode.html

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

No branches or pull requests

2 participants