Skip to content

Commit 8c7040a

Browse files
committed
add missing videos
1 parent 082d2af commit 8c7040a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

exercises/07.state-reducer/01.problem.reducer/README.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# State Reducer
22

3+
<EpicVideo url="https://www.epicreact.dev/workshops/advanced-react-patterns/state-reducer" />
4+
35
👨‍💼 In this exercise, we want to prevent the toggle from updating the toggle
46
state after it's been clicked 4 times in a row before resetting. We could easily
57
add that logic to our reducer, but instead we're going to apply a computer

exercises/07.state-reducer/01.solution.reducer/README.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# State Reducer
22

3+
<EpicVideo url="https://www.epicreact.dev/workshops/advanced-react-patterns/state-reducer/solution" />
4+
35
👨‍💼 This is a powerful example of inversion of control that allows users to
46
overwrite our entire reducer. But it could be exhausting to users to have to
57
duplicate most of our reducer just to change a few things. So let's address that

0 commit comments

Comments
 (0)