-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96512a1
commit 27d00ab
Showing
49 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
exercises/01.managing-ui-state/01.problem.use-state/README.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
exercises/01.managing-ui-state/01.solution.use-state/README.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
exercises/01.managing-ui-state/02.solution.control/README.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Derive State | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/derive-state/solution" /> | ||
|
||
π¨βπΌ Awesome work! It looks really cool to have the checkboxes check and uncheck | ||
automatically as you type! We're now controlling both all the inputs on here | ||
all based on a single element of state. Well done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Initialize State | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/initialize-state/solution" /> | ||
|
||
π¨βπΌ Great! Now our users can share links to this page that initialize the search | ||
to something specific. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Init Callback | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/init-callback/solution" /> | ||
|
||
π¨βπΌ Great! This isn't 100% necessary as a performance optimization, but it's easy | ||
and doesn't hurt readability so we may as well! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Managing UI State | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/dad-joke-break-managing-ui-state" /> | ||
|
||
π¨βπΌ Great work! You now know how to manage client-side component state in a React | ||
application! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Effect Cleanup | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/effect-cleanup/solution" /> | ||
|
||
π¨βπΌ Phew! I'm glad we're not going to run into memory leaks now. Our users | ||
(especially) those on low-end devices will thank us for it! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Lift State | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/lift-state/solution" /> | ||
|
||
π¨βπΌ Great! It's working now! | ||
|
||
Hmmm... What's that I hear? It's the sound of a new requirement coming in! π |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Lift More State | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/lift-more-state/solution" /> | ||
|
||
π¨βπΌ Great job! Unfortunately... I have some bad news. Let's talk about that next. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Lifting State | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/dad-joke-break-lifting-state" /> | ||
|
||
π¨βπΌ Hooray! You've learned how to move state around as needed like a pro! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Refs | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/refs/solution" /> | ||
|
||
π¨βπΌ Great job! Now our users have a fancy counter! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Dependencies | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/dependencies/solution" /> | ||
|
||
π¨βπΌ Great! But... ummm... we didn't actually solve the problem. It's still | ||
getting re-initialized whenever you click the count button. That's not good. | ||
Let's look into why and fix it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# DOM Side-Effects | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/dad-joke-break-dom-side-effects" /> | ||
|
||
π¨βπΌ You did well! Now you know how to properly integrate third party DOM | ||
libraries with your React app. You can apply this same knowledge to other | ||
libraries that help you interact with other browser APIs as well. Good job! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# useId | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/useid/solution" /> | ||
|
||
π¨βπΌ Great, now our labels are properly associated and that makes our users happy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Unique IDs | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/dad-joke-break-unique-ids" /> | ||
|
||
π¨βπΌ Great work! Now you know how to make globally unique IDs for your React apps! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
exercises/06.tic-tac-toe/01.problem.set-state-callback/README.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
exercises/06.tic-tac-toe/01.solution.set-state-callback/README.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Real World Review: Tic Tac Toe | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/setstate-callback/solution" /> | ||
|
||
π¨βπΌ Awesome! Now our users can play tic-tac-toe! They're thrilled. But you know, | ||
they kinda want more... As is often the case. We call this "job security!" π |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
exercises/06.tic-tac-toe/02.solution.local-storage/README.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Add Game History Feature | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/add-game-history-feature/solution" /> | ||
|
||
π¨βπΌ Hey, great job! Our users are really happy with what you've put together π |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Tic Tac Toe | ||
|
||
<EpicVideo url="https://www.epicreact.dev/workshops/react-hooks/dad-joke-break-tic-tac-toe" /> | ||
|
||
π¨βπΌ Congratulations! You now have a great handle on `useState` and `useEffect`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# React Hooks π£ | ||
|
||
{/* TODO: add this video */} | ||
|
||
π¨βπΌ You've done an awesome job. Now you understand the foundational hooks with | ||
React and you're prepared to learn some of the more advanced hooks that React | ||
has to offer. Great job! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters