Step2-01 exercise updates

This commit is contained in:
Elizabeth Craig
2019-02-28 14:53:43 -08:00
parent 88425249ea
commit 419837ba2e
4 changed files with 50 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
# Types and Creating a UI Driven State
# Types and Creating a UI-Driven State
Now that we have a UI that is purely driven by the state of our app, we need to add functionality to allow the UI to drive the state. This is often done by creating functions that call `setState` like we saw in the `TodoHeader`. Values from the state are then passed down to the UI as props.