- Create a class component
- Attach a event to a component
- Use setState to trigger a rerender of a component
- Use props to update classes
- Restructure your application to have more components
- Create a class component with a render method that has (from example)
- Add todo (form)
- Checkbox and delete button
- List of to do items
- Add an event to the form
- Have it
console.logthe contents of the input box
- Add a state to the constructor
- use
setStatein theaddTodomethod to add a todo to your list - Add a method that will handle a checkbox for every item, use
setStateto update state - Add a method that will handle the toolbar checkbox, use
setStateto update state - Add a method
- Use the
checkedproperty on a list to modify classes on a component
- Pass methods and data as props
- Refactor your application to use components.