dillon1000/react
Commit
Browse files 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.
Changed paths7 files
First-parent comparisonsrc/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…