Day 2: title formatting coherence, minor edits

This commit is contained in:
Elizabeth Craig
2019-03-05 02:42:26 -08:00
parent 8c99c83353
commit 46094abe9d
11 changed files with 40 additions and 42 deletions

View File

@@ -4,19 +4,19 @@
If you don't already have the app running, start it by running `npm start` from the root of the `frontend-bootcamp` folder. Click the "exercise" link under day 2 step 4 to see results.
## TodoContext.Provider Component
## TodoContext.Provider component
1. Open `exercise/src/components/TodoApp.tsx`
2. Uncomment the missing functions inside the value prop
## TodoFooter, Context inside Functional Component
## TodoFooter: context inside functional component
1. Open `exercise/src/components/TodoFooter.tsx`
2. Use `useContext` to access the `TodoContext` and replace the two constants with values from the context
## TodoHeader, Context inside Class Component
## TodoHeader: context inside class component
1. Open `exercise/src/components/TodoHeader.tsx`