Run React Native actions from within VSCode.
Switch branches/tags
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
common Add common folder & precommit task Oct 10, 2017
example Add react-native-actions Oct 16, 2017
packages Remove "only for iOS" reference Jan 31, 2018
tasks Add build task Oct 12, 2017
.gitignore Add common folder to git ignore Oct 11, 2017
LICENSE Add LICENSE Oct 16, 2017
README.md Remove "only iOS" reference Jan 31, 2018
lerna.json Add common folder & precommit task Oct 10, 2017
package.json Add build task Oct 12, 2017
yarn.lock Add common folder to git ignore Oct 11, 2017

README.md

 React Native Actions

react-native-actions

Run React Native actions from within VSCode.

Quick start

Installation

VScode

Add the extension on terminal:

code --install-extension lucasbento.react-native-actions

Or click here to install from the marketplace.

React Native

  1. Install the dependency
yarn add react-native-actions --dev
  1. Link
react-native link react-native-actions

You can check out the manual installation here.

  1. Simply wrap your root component with withActions HOC:
// Your main component

import withActions from 'react-native-actions';

class Application extends Component {
  // ...
}

export default withActions(Application); 

Usage

  • + 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).