Team3 [4pt] Display dragons - Lists render
Closed this issue · 0 comments
Zainab-Alzubair commented
- Use
useSelector()
Redux Hook to select the state slices and render lists of dragons in corresponding routes. i.e.:
// get rockets data from the store
const rockets = useSelector(state => state.rockets);
-
You can style the whole application "by hand" or you could use React Bootstrap, a UI library that could speed up the process. This is a popular library and working with its components would be good practice.
-
Render a list of dragons (as per design). For the image of a dragon use the first image in the array of
flickr_images
.