dillon1000/react

Commit

Moar warnings with solid prefixes!

This ensures that we have a prefix that can be easily identified in logs
so that we can filter out warnings based on their prefix.

This also turns the remaining two monitorCodeUse callers into warnings.
We'll probably still use monitorCodeUse until we know if we want to
deprecate but most releases should only have warnings.
Browse files
Changed paths7 files
First-parent comparison
M src/classic/__tests__/ReactContextValidator-test.js ModifiedM src/classic/element/ReactElementValidator.js ModifiedM src/core/ReactCompositeComponent.js ModifiedM src/core/ReactContext.js ModifiedM src/core/__tests__/ReactCompositeComponent-test.js ModifiedM src/core/shouldUpdateReactComponent.js ModifiedM src/vendor/core/warning.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…