From the course: Building Modern Projects with React

Unlock the full course today

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

Putting the app together

Putting the app together

From the course: Building Modern Projects with React

Start my 1-month free trial

Putting the app together

- [Instructor] Okay, so now that we have our to-do list, to-do list item, and new to-do form components created, there's just two more things that we have to do before we can run our app and see these new components in action. The first thing we have to do is open up our app.js component, and instead of displaying Hello, World here, we're going to display our to-do list that we created. So in order to do that, we just have to say import TodoList from dot slash todos slash TodoList, and then replace this with TodoList, and then we're going to open up our to-do list, and add the new to-do form component at the top of that. So we're going to say import NewTodoForm from dot slash NewTodoForm, and put that at the very top here. And in order to prevent our app from getting an error, we're going to have a default value for our to dos prop here. And that should be all we need for now. If we run npm, run dev, and open up our app,…

Contents