Learn how to define and implement what you are going to render on the Favorites page as a previous step of sharing a state between pages.
- [Instructor] Hi, we are now…getting closer to the end of this section.…In this video,…we're going to finally implement our favorite feature.…But before jumping to our code,…let's review how this feature should work.…Here's the current state of our home root, right?…We have a recipe list on the left…and a recipe detail on the right.…Now, we want to be able to click…on one of the recipes in the recipe list…and mark it as favorite.…This action will allow that particular…recipe in the recipe list to add…favorite the list that the user owns.…Then, the user should be able to click again…on the check mark to unfavorite that list,…which, in that case,…will remove the check marks that we previously set.…
That's easy, right?…Even though this video is not related to routing,…which is the main subject of this section,…it's needed for start developing our next video.…Okay, so the first thing we're going to do…is to go to our home component.…If you remember, our home component keeps tracks…of the recipes that we load from the API…
- Structuring React projects
- Creating and mounting the root component
- Composing components for more complex UI
- Using state to making components dynamic
Skill Level Intermediate
React: Managing Complex Interactionswith Emmanuel Henri1h 45m Intermediate
1. How to Structure React Projects
2. Diving into the First Components
3. Styling Made Easy
5. Painless Components Testing
Configure Jest5m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.