dillon1000/react

Commit

Flip the warning condition in ReactDebugTool and ReactDOMDebugTool

The current warning condition caused the first error to be swallowed, and all the next errors to be logged. I believe the intention was the opposite: to log the first error, and to ignore any next errors for the same method.
Browse files
Changed paths2 files
First-parent comparison
M src/isomorphic/ReactDebugTool.js ModifiedM src/renderers/dom/shared/ReactDOMDebugTool.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…