dillon1000/react

Commit

Add warning when accessing .type on a component class

Since we removed the wrapper factory around classes, the class is just
the class now so there is no need for this indirection property.
Browse files
Changed paths2 files
First-parent comparison
M src/classic/class/ReactClass.js ModifiedM src/classic/class/__tests__/ReactClass-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…