2.0 - Concept List
Our next app will be a little twist on a typical to do list application, with a focus on keeping track of your progress of understanding React components.
What We're Going to Build & Learn
A list app where you can add items and cross them off when they're done
More about state and life cycle methods.
More about functional components and ES6
Getting Started
To get started, we need to set up our routing to be able to access the application and our folder structure.bbInside of Sidebar.js
insert the following link:
In Sidebar.js
add the following route:
Don't forget to add the import for the component!
Folder structure
Now, in our folder structure we need to create a folder for our app. Underneath (and outside of) your timer-apps folder, create a new folder called concept-list-app
.
Inside of this folder, we're going to start with creating our parent component for our app called ReactConceptsApp.js
.
Basic Component
Set up the basic component by typing out the following code:
Next, we're going to set up the data for the concepts that we want to include in our app!
Last updated