- what do you already know?
- forms + inputs
- a11y (brief)
- bundling (webpack)
- esmodules
- npm
- React functions + components + JSX
- React hooks:
- useState
- useEffect
- useContext (brief)
- React re-renders
- styling:
- Chakra UI: https://chakra-ui.com
- typescript: https://www.typescriptlang.org/docs/handbook/declaration-files/deep-dive.html
- create boilerplate:
npx create-next-app react-todo-list
- edit
pages/index.js
, add a component<TodoList/>
(put it incomponents/TodoList.js
) - add a "controlled input" i.e.
<input type="text"/>
withvalue
andonChange
props controlled by React state - add a "plus" button to add the input's value to our todo list. also, it should reset the input's value
- add ability to delete each list item