GitHub

  • import React , { Component , PropTypes } from ” react ” ; import { View , Text , StyleSheet , TouchableHighlight , TextInput } from ” react-native ” ; import NavigationBar from ‘ react-native-navbar ‘ ; class LoginScreen extends Component { render () { return ( < View > < NavigationBar tintColor = " #ADF8D1 " / > < / View > ); } }
  • If you are using IE 11, make sure you turn off “Compatibility View” .
  • See the full list of options .
  • A simple codemod to handle the new import style on RN25
  • Options to recast ‘s printer can be provided through the printOptions command line argument.

Read the full article, click here.


@martinkonicek: “When upgrading to React Native 0.25 and higher, try this codemod to automatically update your imports:”


codemod-RN24-to-RN25 – A simple codemod to handle the new import style on RN25


GitHub