Join Joe Chellman for an in-depth discussion in this video Solution: Activate the color selector, part of React for Web Designers (2018).
(gentle music)…- [Instructor] Let's go over my solution…to the color selector challenge.…First, we'll take a look at it here in the browser…to see how it works.…I can select the different colors,…and the shoe changes,…along with the available sizes.…You can see that you can get into, sort of,…racing conditions here,…where suddenly we can't even select…from the full range of sizes available.…
Sort of can constrain ourselves even further…as we go along.…That's one bit of strange behavior we could fix…by adding a reset button that would re-initialize…all the state in these components.…For now of course we can just reload.…When I was talking about strange behavior,…something you might have noticed,…along with the ever decreasing set of available options,…is that if, for example,…your first selection was to go down to size 12,…the selected color over here would change to green…but as you can see the state has brown…and the shoe is brown.…
So something isn't quite adding up here.…We're going to look at that in future lessons,…
- 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.