Skip to content

Commit

Permalink
add hooks thing from swyx
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Mar 14, 2024
1 parent 9b75d9d commit 03f416e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exercises/01.latest-ref/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ It's important that you understand the trade-offs here! Remember, when we do
this we're going back to the class component default. So just think about the
unexpected behavior's you'll get when you switch the default like this.

📜 For more on hooks and closures, check
[Getting Closure on React Hooks](https://www.swyx.io/hooks)

📜 For more on this subject, read
[How React Uses Closures to Avoid Bugs](https://epicreact.dev/how-react-uses-closures-to-avoid-bugs).

Expand Down

0 comments on commit 03f416e

Please sign in to comment.