Commit 3b0f2c7
fix(instructions): react-hooks 02.01 (#239)
* fix(instructions): react-hooks 02.01
Exercise `react-hooks/exercises/02.side-effects/01.problem.effects/index.tsx`
The current instructions don't make sense... this patch clears things up.
* fix(instructions): Explain that react-hooks 02.01 should be broken
> in the useEffect callback, subscribe to window's popstate event
If a dev knows how to use `useEffect()` this will look like a bug... because it is. Let's explain that this bug is supposed to be here at this point.
* Apply suggestions from code review
---------
Co-authored-by: Kent C. Dodds <[email protected]>1 parent 4d9f475 commit 3b0f2c7
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments