In this pair project, we will be working with state & events in React. Then we will use the useEffect hook to update state from an API and persist state to an API with events.
The goals of this pair project are to:
- Gain an ability to use State in a React component and pass information to other components via props
- Use the
useEffecthook to update state after the component first mounts - Use
axiosto make API calls to update state - Write controlled form components
When forking this repository, be sure to uncheck the button that says: "Copy the main branch only"
- Part 1: React Components, Props, State and Event Handling
- Part 2: Connecting to the Task List API
We have added tests to the project for students to investigate at their own discretion. They are not required to understand or learn about lifting state, useEffect, APIs or controlled forms.