dillon1000/react

Commit

Add monitor module for logging instrumentation

This adds an instrumentation hook for logging so that we can monitor invalid API
usage before we're ready to issue a warning.

I took the opportunity to update some console.warns to use the warning module
instead. The remaining console.warns
will be replaced by the warning module after we've cleaned up the callsites.
Browse files
Changed paths8 files
First-parent comparison
M src/browser/dom/DOMPropertyOperations.js ModifiedM src/browser/dom/components/LinkedValueUtils.js ModifiedM src/browser/dom/components/ReactDOMOption.js ModifiedM src/browser/dom/components/ReactDOMTextarea.js ModifiedM src/core/ReactComponent.js ModifiedM src/core/ReactCompositeComponent.js ModifiedM src/event/EventPluginHub.js ModifiedM src/utils/cloneWithProps.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…