View Code? Open in Web Editor
NEW
This project forked from stephenarg/react-stateevents-practice2
HTML 15.65%
CSS 9.54%
JavaScript 74.80%
react-stateevents-practice2's Introduction
- You have an api of Beyonce images that have a key of "favorite" which defaults to false
- Your Beyonce images are held in state in the BeyContainer component
- Render a list of all Beyonce images
- When a User clicks on a Beyonce image it should change the "favorite" key true (if it was set to false) or false (if it was set to true)
- changing state of a parent component
- passing a callback function as a prop to be used by a child component
- manipulating objects inside of arrays in state
- rendering a component from multiple parents
- lifting state
- To solve this project you may need to do some refactoring
react-stateevents-practice2's People
Contributors
Watchers