Skip to content

Commit

Permalink
learn topic callout
Browse files Browse the repository at this point in the history
  • Loading branch information
beccaelenzil authored Jun 6, 2022
1 parent 82115fc commit becf001
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project-docs/wave-03.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Wave 03: Event Handling and Lifting Up State

**Learn Topics: State and Event Handling & Lifting Up State required for this wave**

In this wave we will update the components to manage a **like** feature.

- Add behavior to heart button in `ChatEntry` so that when it is clicked it toggles from an empty heart (🤍) to a filled heart (❤️) and from a filled heart (❤️) to an empty heart (🤍).
Expand All @@ -20,4 +22,4 @@ In this wave we will update the components to manage a **like** feature.
The tests for this component are integration tests. They don't make assumptions about the implementation details of like feature. The tests verify the following functionality:
- When the user click on a 🤍 button it changes to a ❤️, and when the user clicks on a ❤️ it changes to a 🤍. This test also verifies that clicking on one `ChatEntry`'s like button (🤍) doesn't change other `ChatEntry`'s buttons.
- The correct number of filled hearts is displayed at the top of the screen.
- If you make a design decision to use a different emoji, you will need to change the tests accordingly.
- If you make a design decision to use a different emoji, you will need to change the tests accordingly.

0 comments on commit becf001

Please sign in to comment.