This section will explain about the following items in RNDebugger.
We have context menu (right-click) for provides useful features:
- Reload
- Toggle Elements Inspector
- Show Developer Menu [iOS only]
- Enable / Disable Network Inspect
- Log AsyncStorage content
- Clear AsyncStorage
It includes the developer menu features, these would be useful for real device, instead of open developer menu in device manually.
The Redux Slider
will shown on right if you're using Redux API
,
If your Mac haven't TouchBar support, you can use touch-bar-simulator
, the features are still very useful.
- Reload JS (macOS:
Command+R
, Windows / Linux:Ctrl+R
) - Toggle Elements Inspector (macOS:
Command+I
, Windows / Linux:Ctrl+I
) - New Debugger Window (macOS:
Command+T
, Windows / Linux:Ctrl+T
) - Toggle Developer Tools (macOS:
Command+Option+I
, Windows / Linux:Ctrl+Alt+I
) - Toggle Redux DevTools (macOS:
Command+Option+J
, Windows / Linux:Ctrl+Alt+J
) - Toggle React DevTools (macOS:
Command+Option+K
, Windows / Linux:Ctrl+Alt+K
) - Quickly into search field of React DevTools (Type
/
)
You can also read Keyboard Shortcuts Reference of Chrome Developer Tools.
You could link react-native-devsettings-android
in your project to enable the features:
$ npm install --save react-native-devsettings-android
$ react-native link react-native-devsettings-android
Note that it only for regular RN project, so it doesn't support CRNA without eject.
- Currently most features doesn't work with Haul bundler, please tracking issue #141.