This is a project from Udemy - React Front To Back 2022 by Travery Media.
Users should be able to:
- Add a new feedback item using the form
- Delete a feedback item
- Edit an existing feedback in the feedback list
- Navigate to the about page & back
- See the feedback stats change when the feedback list changes
- Live Site URL: Live Site
- Create React App
- React Router Dom
- Framer Motion
- UUID
- React Icons
I learned how to first build this project by passing functions, state, and other data via props. This is otherwise known as 'prop-drilling,' and is fine for small projects. However it starts to get messy when the application grows in complexity.
Later in the project, I learned how to refactor the code to use context (instead of prop-drilling) for functions and global state. This cleaned things up quite a bit, especially in the src/app.js
file.
Finally, I got some practice with using external NPM dependencies like React Router Dom for creating routes, Framer Motion for feedback list animation, and UUID for generating unique id's for each feedback item.
- Clone the repo onto local machine
- Navigate to project directory in Terminal, then:
npm install
to install project dependencies - Terminal:
npm start
- Website - Chris Korsak
- Udemy - React Front To Back 2022 - Traversy Media