Skip to content

Warning: A string ref, "toolbarWrapper", has been found within a strict mode tree. #373

Open
@charescape

Description

-- Bug Report --

Expected Behavior

No warnings.

Current Behavior

Warning: A string ref, "toolbarWrapper", 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() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref

Steps to Reproduce

  1. Following https://megadraft.io/#/docs/overview to setup page.
  2. Input some text and press Enter.
  3. Select some text.

Browser, device, and OS

Chrome 98 on Windows 10

Screenshots

image

image

Activity

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

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