facebook/prop-types

React Portals can't be validated with prop-types

オープン

#167 opened on 2018/03/01

 (4 件のコメント) (17 件のリアクション) (0 人の担当者)JavaScript (389 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (4,379 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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?

コントリビューターガイド