Skip to content

react-transition-group/src/Transition.js - findDOMNode #687

@greatzambino

Description

@greatzambino

What is the current behavior?
react-transition-group/src/Transition.js is currently using findDOMNode so when using react.strictmode we get this warning:

findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode.

What is the expected behavior?
Since React has deprecated findDOMNode in strictmode, why is it still in use here?
When will this be removed from the package?
Right now the warning is simply annoying, but concerned about it causing issues in future releases of react.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions