View Code? Open in Web Editor
NEW
This project forked from boolean-uk/react-hire-router
JavaScript 92.64%
CSS 2.16%
HTML 5.20%
react-hire-router's Introduction
- Fork and clone this repo
- Run
npm ci
- Run
npm run dev
- Look at the components you have been given
- Practice
useEffect
- Implement React Router (package name:
react-router-dom
) to deliver on the deliverables
- Use the official React Router documentation to help you
- A user can visit a "/" route (Dashboard) that shows a list of 50 people from
https://randomuser.me/documentation and an empty hired list
- A user can click a link to view the person's profile
- A user can visit a "/view/:id" route to view a person's profile
- When a user clicks "Hire" they should be redirected to the dashboard AND see the person they've hired in the hired column
- A user can click "Edit" in the hired column
- A user can edit the page of the hired person AND be redirected to the dashboard and see those changes.
react-hire-router's People