Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Building the GuestList Component 6:12
- Writing a Handler to Confirm Guests 7:46
- Connecting the Confirm Guests Handler 4:27
- Creating Components Review 6 questions
- Toggling Edit State for Guests 8:31
- Changing Guest Name in State 6:11
- Filtering Guests 6:06
- Filtering and Changing State Review 5 questions
- Adding Guests to the List 5:44
- Removing Names From the List 3:42
- Pending Name Submission Feature 4:21
- Creating the Counter 7:14
- Building the Application Review 5 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
In the last video, we allowed the user to toggle a guest between "confirmed" and "unconfirmed". In this video, we're going to implement a slightly more complicated version of that feature. Instead checking a box on and off, we're going to let users toggle between an editing and a saved view.
Note
You may have noticed at the 4:19 mark that Guil types handeToggleEditing
, leaving off the "l" in "handle". Typos like this can easily happen when you are writing your code, but as long as you are consistent they won't necessarily lead to errors. Thanks to auto-complete, Guil also uses handeToggleEditing
at the 5:15 mark when updating the Guest.js
component. Because he used the same name in both places, the code works as expected.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Zaid Khan
12,769 Points1 Answer
-
Trevor Maltbie
Full Stack JavaScript Techdegree Graduate 17,021 Points1 Answer
-
Stephane Guenette
4,386 Points0 Answers
-
Jozef Repan
1,829 Points1 Answer
-
Sharad Shivmath
14,446 Points2 Answers
-
Hjalti Agustsson
3,846 Points0 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up