Skip to content

findDOMNode deprecation warning #1805

@olegzhermal

Description

@olegzhermal

There is a deprecation warning for the react-slick component inside <React.StrictMode>.
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Track which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node

So, perhaps, refactoring is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions