Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed React by Example!
You have completed React by Example!
Preview
The first step will be to break the app into components. Then, we'll think about how those components should connect to each other. This will give us an idea of where state should be.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Remember state is all the data
we want to track in an app.
0:00
So when the user does any action,
like type in a form, or check a box,
0:03
they are changing the state
of the application.
0:08
And those changes will need to
be stored as data somewhere.
0:12
As that data changes different components
of the app will update what they
0:15
show to the user.
0:20
For example, when the user types
a name into the main form of the app,
0:21
the app state changes to
contain the string being typed.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up