Run React Native actions from within VSCode.
Run React Native actions from within VSCode.
Add the extension on terminal:
code --install-extension lucasbento.react-native-actions
yarn add react-native-actions --dev
react-native link react-native-actions
You can check out the manual installation here.
withActions
HOC:// Your main component
import withActions from 'react-native-actions';
class Application extends Component {
// ...
}
export default withActions(Application);