Join Joe Chellman for an in-depth discussion in this video Challenge: Activate the color selector, part of React for Web Designers (2018).
- [Instructor] At this point we have a series…of components that work pretty nicely together…but now it's time for our first challenge…where you're going to be working…on one of these components yourself.…Right now we have a size selector…that can update the selected colors.…We're going to do the opposite for this challenge.…That is when we select color,…we want to update the state of everything else accordingly.…So, here we are in our Color Selector challenge.…What we're going to do is activate…the color selector's behaviors.…
Specifically we're going to update…the currently selected color…and then we're going to check the inventory,…and update the size selector…with the available sizes for the currently selected color.…I have a little bit of extra credit…in this challenge as well…which is to update the selectors…by current availability.…So, what I mean by that…is we'll check if the currently selected size…is available for the currently selected color.…So, if for example,…I currently have size seven selected…and I change the color to blue,…
- Identify notable features about how React works.
- Identify good early steps for any React project.
- Explain why the little PHP app that powers our API has a way to add delay.
- Outline what a lifecycle method is.
- Recall the React convention that must be followed when adding a status message.
- Explain the purpose of React.Fragment.
Skill Level Intermediate
1. Introducing React
2. First Project: Customizer
3. Second Project: Directory Browser
4. Third Project: Status Updater
Next steps: Lots more React2m 37s
- 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.