This session is about understanding and utilizing Hooks in React components, especially useEffect.
useEffect
Preparation
Session Plan (for mentors)
Assignment
By the end of this session, you will:
Know how to build interactive forms as React components
Be familiar with React's way to attach (DOM) events to elements
Be able to submit a form and process the form data in JavaScript
Understand how and why React uses Hooks
Have tried the useEffect hook in different contexts
Know how to use useEffect to synchronize with other systems (like the DOM or browser window)
Be able to load data from an API utilizing fetch, and the useEffect and useState hooks
fetch
useState
Understand at what time(s) your data will be loaded from the API
Last updated 1 month ago