Skip to content

Commit

Permalink
give all exercises a name
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed May 13, 2024
1 parent 177a590 commit 6f5ede7
Show file tree
Hide file tree
Showing 35 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ components.
So in this exercise, we'll solve that problem by using the 📜
[React Context API](https://react.dev/reference/react/use#reading-context-with-use)!

<callout-info>
Technically, the [`use`](https://react.dev/reference/react/use) hook is in the
canary release of React which is not yet released, but [will be
soon](https://react.dev/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024).
We'll be using it in this workshop series to keep you ahead of the curve.
</callout-info>

What we want to do in this exercise is allow users of our component to render
something when the toggle button is on and to render something else when that
toggle button is off without troubling them with managing the state that's
Expand Down

0 comments on commit 6f5ede7

Please sign in to comment.