Welcome to the Mastering Native Code Starter Pack! This repository is a setup template for getting your environment ready for React Native development. Once you've completed this setup, you'll be able to start building your own React Native apps and also make sure you're ready to attend the Mastering Native Code workshop! 🎉
Table of Contents
- Setup
- Simulators
For the full instructions on how to setup your environment for React Native development, head on over to Environment Setup.
- Initialize the project:
cd ~/Dev
npx react-native init advancedcontacts # "y" to all prompts
cd advancedcontacts
- Run the project setup script:
yarn
- Start the metro bundler:
yarn start
- Build in dev mode:
-
Android: by typing
a
in metro, or in a new shell instance:yarn android
-
iOS: by typing
i
in metro, or in a new shell instance:yarn ios
- Build for your device:
If you can't get this to work, see the Troubleshooting page.
To learn more about React Native, take a look at the following resources:
- React Native Website - learn more about React Native.
- Getting Started - an overview of React Native and how setup your environment.
- Learn the Basics - a guided tour of the React Native basics.
- Blog - read the latest official React Native Blog posts.
@facebook/react-native
- the Open Source; GitHub repository for React Native.