Run React Native actions from within VSCode.
Add the extension on terminal:
code --install-extension lucasbento.react-native-actions- Install the dependency
yarn add react-native-actions --dev- Link
react-native link react-native-actionsYou can check out the manual installation here.
- Simply wrap your root component with
withActionsHOC:
// Your main component import withActions from 'react-native-actions'; class Application extends Component { // ... } export default withActions(Application); - ⌘ + Shift + R: to reload the code on device;
- ⌘ + Shift + D: to open developer menu;
- ⌘ + Shift + T: to show network requests in console (requires remote debugging).
