- Add, delete, and check off tasks!
- Persistent state across reloads thanks to
localStorage
- Introduces beginners to React.js
- Learn about state, props, functional components, and more!
- Code comments and development by blueputty01 with support from Siddarth Narayanan
- The framework of this project was built using the command
npx create-react-app my-app
- Learn more about Create React App here
- Use this Figma for reference
- Look for branches prefixed with 'step', and you'll be able to see the progression of the app along with some notes!
Implement text box
- Add index.js in './Add'
- Import Add component from './Add'
- Add DOM markup
- Introduce useState hook and controlled inputs
Implement component that displays individual tasks
- Steps 1-3 from above but with './Item'
Allow for a dynamic list of components to be displayed
- Add .map to App.js
- Implement "add item" function in App.js
- Add
useLocalStorage
hook anduuid
packages - Pass addHandler to
Add
component
- Implement "add item" function in App.js
- Pass deleteHandler to
Item
component
- Similar process as above