react-native-actions

1.1.0 • Public • Published

 React Native Actions

react-native-actions

Run React Native actions from within VSCode.

Features

  • Reload the code in device;
  • Open developer menu;
  • Show network requests in console (requires remote debugging).

This package is inteded to be used with VSCode React Native Actions extension.

Getting started

yarn add react-native-actions --dev

Automatic installation (only required for iOS)

react-native link react-native-actions

Manual installation (only required for iOS)

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-actions and add RNActions.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNActions.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project ⌘ + R

Android

Android doesn't require any dependency installed through react-native, only Android Debug Bridge (adb) on the computer.

Usage

// Your main component
 
import withActions from 'react-native-actions';
 
class Application extends Component {
  // ...
}
 
export default withActions(Application); 

/react-native-actions/

    Package Sidebar

    Install

    npm i react-native-actions

    Weekly Downloads

    252

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • lucasbento