facebookarchive/draft-js

Prints warnings when rendered within <React.StrictMode>

Open

#2.026 aberto em 6 de mar. de 2019

Ver no GitHub
 (6 comments) (3 reactions) (0 assignees)JavaScript (2.646 forks)batch import
bugenhancementgood first issue

Métricas do repositório

Stars
 (22.554 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Do you want to request a feature or report a bug? Bug What is the current behavior? When rendering a draft editor as an ancestor of <React.StrictMode>, warnings are printed to the console about findDOMNode

image

What is the expected behavior? No warnings should be printed

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js? 0.11.0-beta All browsers

Guia do colaborador