Sample Employee Directory App built with React Native
Switch branches/tags
Nothing to show
Clone or download
Christophe Coenraets
Christophe Coenraets first commit
Latest commit f164d2a Jan 9, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app first commit Jan 9, 2017
.gitignore first commit Jan 9, 2017
README.md first commit Jan 9, 2017
index.android.js first commit Jan 9, 2017
index.ios.js first commit Jan 9, 2017

README.md

Employee Directory: React Native Sample App

See this blog post for more info.

Installation Instructions

  1. Follow the React Native getting started instructions to install React Native

  2. Create a new React Native app named EmployeeDirectory:

    react-native init EmployeeDirectory
    cd EmployeeDirectory
    react-native run-ios
    
  3. Clone the sample app repository:

    git clone https://github.com/ccoenraets/employee-directory-react-native
    
  4. Copy the app folder from employee-directory-react-native into your EmployeeDirectory project folder

  5. Open index.ios.js. Delete the existing content and replace it with:

    import {AppRegistry} from 'react-native';
     
    import EmployeeDirectoryApp from './app/EmployeeDirectoryApp';
     
    AppRegistry.registerComponent('EmployeeDirectory', () => EmployeeDirectoryApp);
    
  6. Save index.ios.js

  7. Hit Cmd + R to refresh the app in the emulator