Skip to content

Commit

Permalink
Merge pull request #1857 from mx-ruthie/patch-57
Browse files Browse the repository at this point in the history
Update react-hooks.md
  • Loading branch information
SarahCawley authored Feb 14, 2023
2 parents b3bd490 + 76250ba commit f3f0987
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions react-js/react-hooks.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# React: Pure Functions and Hooks

### Projected Time
### Week 5 Keywords and Questions

Example: 80-100 minutes

- Lesson: 15-25 min
- Guided Practice: 15-25 min
- Independent Practice: 15-25 min
- Check for Understanding: 15 min
- Why use hooks?
- When to use useState hook - How can I store state and change state using useState?

### Prerequisites

Expand Down Expand Up @@ -272,7 +268,7 @@ See [here](https://reactjs.org/docs/hooks-effect.html#tip-optimizing-performance
If a component has multiple `states` and/or if the logic to update states becomes complex, it can become difficult to read and bloated.
The [useReducer hook](<[https://reactjs.org/docs/hooks-reference.html#usereducer](https://reactjs.org/docs/hooks-reference.html#usereducer)>).

### Independent Practice
### Independent Practice (if time permits)

**_Book name generator_**
Goal: A user should be able to enter a phrase, and below will see the Harry Potter title generated from that phrase.
Expand Down

0 comments on commit f3f0987

Please sign in to comment.