facebook/prop-types

React Portals can't be validated with prop-types

Open

#167 aberto em 1 de mar. de 2018

Ver no GitHub
 (4 comments) (17 reactions) (0 assignees)JavaScript (389 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (4.379 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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?

Guia do colaborador