Permalink
Browse files

RN: A wild YellowBox has appeared!

Summary:
Replaces the existing `YellowBox` with a modern one.

Here are the notable changes:

- Sort warnings by recency (with most recent on top).
- Group warnings by format string if present.
- Present stack traces similar to RedBox.
- Show status of loading source maps.
- Support inspecting each occurrence of a warning.
- Fixed a bunch of edge cases and race conditions.

Reviewed By: TheSavior

Differential Revision: D8345180

fbshipit-source-id: b9e10d526b262c3985bbea639ba2ea0e7cad5081
  • Loading branch information...
yungsters authored and facebook-github-bot committed Jun 12, 2018
1 parent f8b4850 commit d0219a0301e59e8b0ef75dbd786318d4b4619f4c
@@ -127,4 +127,11 @@ const styles = StyleSheet.create({
},
});
if (__DEV__) {
if (!global.__RCTProfileIsProfiling) {
const YellowBox = require('YellowBox');
YellowBox.install();
}
}
module.exports = AppContainer;
Oops, something went wrong.

0 comments on commit d0219a0

Please sign in to comment.