SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Add unstable_enableLogBox

Summary:
This diff adds a new `unstable_enableLogBox` function to opt-into the new LogBox experience. If LogBox is not enabled early enough, we show an error with instructions.

With this, LogBox can be enabled with:

```
require('react-native').unstable_enableLogBox();
```

Changelog: [General] [Adds] unstable_enableLogBox

Reviewed By: zackargyle, rubennorte

Differential Revision: D18808940

fbshipit-source-id: 4b0234ddc4d1646515bf63110d5b02133780512e
R
Rick Hanlon committed
dd8e5f468a29e299647ffbd0887f53afd24936e3
Parent: 5879795
Committed by Facebook Github Bot <facebook-github-bot@users.noreply.github.com> on 12/10/2019, 10:31:38 AM