facebookarchive/draft-js

Prints warnings when rendered within <React.StrictMode>

开放

#2,026 创建于 2019年3月6日

 (6 条评论) (3 个反应) (0 位负责人)JavaScript (2,646 个派生)batch import
bugenhancementgood first issue

仓库指标

星标
 (22,554 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南