Closed
Description
Objects created with functions returned by React.createClass()
are instanceof ReactCompositeComponentBase
, but this constructor isn't exposed to end-users.
Adding it to React.__internals
would enable this check for anyone who needs it.
Use case: creating a version of creationix/dombuilder which uses React.DOM
functions instead of document.createElement()
and need to detect objects which should be left as-is for React to deal with.
Metadata
Metadata
Assignees
Labels
No labels