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

Maintenance: fix findDOMNode and defaultProps console warnings #3949

Open
marlo-longley opened this issue Oct 29, 2024 · 2 comments
Open

Maintenance: fix findDOMNode and defaultProps console warnings #3949

marlo-longley opened this issue Oct 29, 2024 · 2 comments
Assignees

Comments

@marlo-longley
Copy link
Member

There are a ton of these cluttering the console.

Warning: Connect(WithPlugins(Window)): Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.

and

 Warning: findDOMNode is deprecated and will be removed in the next major release. 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
@marlo-longley marlo-longley self-assigned this Oct 29, 2024
@marlo-longley
Copy link
Member Author

marlo-longley commented Oct 29, 2024

defaultProps problem components:

@jcoyne
Copy link
Collaborator

jcoyne commented Oct 30, 2024

I think we'll want #3958 too.

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