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 (389 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (4.379 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

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