facebook/prop-types

React Portals can't be validated with prop-types

Open

#167 geöffnet am 1. März 2018

Auf GitHub ansehen
 (4 Kommentare) (17 Reaktionen) (0 zugewiesene Personen)JavaScript (4.379 Stars) (389 Forks)batch import
bughelp wanted

Beschreibung

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?

Contributor Guide