facebook/prop-types

React Portals can't be validated with prop-types

Open

#167 aperta il 1 mar 2018

Vedi su GitHub
 (4 commenti) (17 reazioni) (0 assegnatari)JavaScript (389 fork)batch import
bughelp wanted

Metriche repository

Star
 (4379 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor