Skip to content

Warning: findDOMNode is deprecated in StrictMode #101

Description

@Gonzalo8642

I see the following error when using select2

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Select2 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

I still see this error even when I use useRef or useCreate to pass in the ref prop

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