facebook/prop-types

React Portals can't be validated with prop-types

Open

#167 创建于 2018年3月1日

在 GitHub 查看
 (4 评论) (17 反应) (0 负责人)JavaScript (389 fork)batch import
bughelp wanted

仓库指标

Star
 (4,379 star)
PR 合并指标
 (30 天内没有已合并 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?

贡献者指南