From the course: React Native Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Initializing the TargetSum app

Initializing the TargetSum app - React Native Tutorial

From the course: React Native Essential Training

Start my 1-month free trial

Initializing the TargetSum app

- [Instructor] Let's create a brand new React Native project for our target sum game. We'll start with React init TargetSum. CD TargetSum. And react-native run-ios. When the command is done, we should see the package we're running. We should see the React Native template application running in the simulator. Let me now run Atom here and start changing things. The first thing I want to do is create a new folder under TargetSum. We call this source folder. And inside this source folder we'll build our complete application and put all the React Native components in there. And let's create a new folder under source. Call this folder components. And inside components, I'll create a new file and call this file App. So this is my top level app component. And this is going to be a regular React class component. I'll name this component App, and import it as default. Let's make a very simple app component. We'll need…

Contents