facebook/prop-types

React Portals can't be validated with prop-types

开放

#167 创建于 2018年3月1日

 (4 条评论) (17 个反应) (0 位负责人)JavaScript (389 个派生)batch import
bughelp wanted

仓库指标

星标
 (4,379 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

PropTypes.node is not accepting element, created by React.createPortal as valid

Is it possible to treat element created by React.createPortal as iterator over it's children or treat portal itself as valid node?

贡献者指南