dillon1000/react
Commit
Browse files Patch console to append component stacks (#348)
* Patch console.warn and console.error to auto-append owners-only component stacks. This setting is enabled by default and will work for React Native even if no front-end DevTools shell is being used. The setting can be disabled via a new, persisted user preference though.
Changed paths24 files
First-parent comparisonflow-typed/npm/react-test-renderer_v16.x.x.js ModifiedM package.json ModifiedM packages/react-devtools-core/src/standalone.js ModifiedM shells/browser/shared/src/main.js ModifiedM shells/dev/src/devtools.js ModifiedA src/__tests__/console-test.js AddedM src/__tests__/inspectedElementContext-test.js ModifiedM src/__tests__/profilingCache-test.js ModifiedM src/__tests__/profilingCharts-test.js ModifiedM src/__tests__/profilingCommitTreeBuilder-test.js ModifiedM src/__tests__/utils.js ModifiedM src/backend/agent.js ModifiedA src/backend/console.js AddedA src/backend/describeComponentFrame.js AddedM src/backend/index.js ModifiedM src/backend/renderer.js ModifiedM src/backend/types.js ModifiedM src/bridge.js ModifiedM src/constants.js ModifiedM src/devtools/views/Settings/GeneralSettings.js ModifiedM src/devtools/views/Settings/SettingsContext.js ModifiedM src/hook.js ModifiedM src/utils.js ModifiedM yarn.lock ModifiedPatch
Files changed
Rendering syntax-highlighted changes…