dillon1000/react

Commit

Show more meanignful stack trace for ReactNative errors (#9291)

* Show more meanignful stack trace for ReactNative errors

Clicking on the stack should jump to where the error actually occurred rather than to where it's logged in a redbox component.

* Made showDialog() return type stricter. Added mock and Flow types for ExceptionManager

* Prettier

* Handle null/string thrown errors

* Removed unused reference to emptyFunction
Browse files
Changed paths5 files
First-parent comparison
M flow/react-native-host-hooks.js ModifiedA src/__mocks__/ExceptionsManager.js AddedM src/renderers/native/ReactNativeFiber.js ModifiedA src/renderers/native/ReactNativeFiberErrorDialog.js AddedM src/renderers/shared/fiber/ReactFiberErrorLogger.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…