Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
Create React Native App does a lot of work to make the initial setup and development of your React Native app simple and straightforward. You get to skip the configuration phase and generate everything you need to run a React Native application, on both Android and iOS devices, all with just a few commands.
Resources
- Create React Native App - GitHub repo
- React Native
- Yarn package manager
- Learn the Basics – React Native
Related Treehouse Courses
[MUSIC]
0:00
Hi everyone, I'm Guil, a developer and
teacher here at Treehouse.
0:09
In this workshop, I'll teach you how
to set up your React Native projects.
0:12
And get your apps up and
0:15
running quickly on a device or
a simulator using Create React Native App.
0:16
Starting a React Native project used
to require time-consuming installation,
0:21
setup, and configuration for
both iOS and Android platforms.
0:25
The command line tool, Create React
Native App, makes it faster and
0:31
easier to get started with React Native.
0:35
Create React Native App does a lot of
work to make the initial setup and
0:37
development of your app simple and
straightforward.
0:40
So you get to skip
the configuration phase and
0:43
generate everything you need to
run a React Native Application
0:45
on both Android and iOS devices,
all with just a few commands.
0:48
Some of the main advantages
of building a native app with
0:53
Create React Native App
are that you're able to run and
0:55
preview your app on a physical
device while you build it.
0:58
You also worry about just one build tool,
so you don't need to install Xcode or
1:02
Android Studio to build and
preview your app.
1:06
There's also no lock-in with
Create React Native App.
1:09
Meaning, you're not forced to
use its configuration choices.
1:13
While Create React Native App is a great
way to get started building a native app.
1:16
If you later need to write custom native
code or modify how your app is configured,
1:20
you can do what's called ejecting
to create your own build setup.
1:25
And you'll learn more about that later.
1:29
In this workshop, I'm going to assume that
you know the basics of React Native and
1:31
have Node and npm or the Yarn package
manager installed on your computer.
1:35
If not,
be sure to check the teacher's notes for
1:40
links resources that will get
you set up with those tools.
1:42
Up next, we'll get started by
installing Create React Native App and
1:45
setting up our project.
1:49
So go ahead and open up your terminal or
console now so that you're ready to go.
1:50
You need to sign up for Treehouse in order to download course files.
Sign up