Skip to content

Impossible to use it inside a styled component due to "strict mode tree" incompatibility #22

Description

@luisggouveia

The error, when I use it inside a 'styled-components' header, is the following:

"A string ref, "selectedFlag", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef()"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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