dillon1000/react

Commit

Move ReactElementType to shared (#8991)

This is currently used by both isomorphic and the renderer. I think that
we can probably split these up. The isomorphic type should actually be
different. It has to do with that the caller needs to know exactly which
type of element it is but this is never needed in the renderer which only
needs to know that the type is internally consistent.

The owner type is renderer dependent so it can literally be anything.
Browse files
Changed paths1 file
First-parent comparison
R src/isomorphic/classic/element/ReactElementType.js →src/shared/ReactElementType.js Renamed
Patch

Files changed

Rendering syntax-highlighted changes…