facebook/prop-types

React Portals can't be validated with prop-types

Open

#167 创建于 2018年3月1日

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

描述

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?

贡献者指南