Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.01 KB

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