Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Warning: findDOMNode is deprecated in StrictMode #76

@schabluk

Description

@schabluk

Hello,

I'm getting this Warning when using StricMode: https://reactjs.org/docs/strict-mode.html

webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:88 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of PageTransition 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
    in div (created by PageTransition)
    in Transition (created by PageTransition)
    in PageTransition (at _app.tsx:26)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions