Join Joe Chellman for an in-depth discussion in this video Solution: Better usability and animation, part of React for Web Designers.
- Let's take a look at one possible solution … to this usability and animation challenge. … So we can see there's a 'Reset' button here. … If I try setting a few of these filters, … I have some different animations happening, … and if I click 'Reset', … I have all the people once again. … All right, let's look at the code. … So first we'll take a look … at the 'Reset' button implementation. … That's going to be down here in 'Filters'. … So I'll scroll down first to the elements … that create the 'Reset' button. … I just used another one of these divs … with the class "group", … and put a 'Reset' button in there. … And it has an event handler 'onClick', … which is calling a function called 'resetFilters'. … A function which is defined up here. … And this is just calling 'props.updateFormState' … for each of the elements of state … that need to be updated. … Now any time … that you start writing the same thing more than once, … that's an opportunity to make some changes, … which is something that you could do …
- Installing React on an existing site
- Thinking about a design in terms of components
- Creating fully-featured function components using Hooks
- Storing and retrieving data from an external RESTful API
- Employing third-party components for CSS animation
- Using conditional rendering
Skill Level Intermediate
Essentials of CSS for React Developerswith Eric Greene53m 31s Beginner
React.js Essential Training (2018)with Eve Porcello1h 25m Intermediate
Using the exercise files1m 2s
1. Introducing React
2. First Project: Customizer
3. Second Project: Directory Browser
4. Third Project: Status Updater
- 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.