reading-notes

Component Lifecycle / useEffect Hook

What is the main intended use case for the useEffect hook?

to perform side effects in functional components

How does the effect’s logic interact with the component?

hook interacts with the component by being executed at specific times during the component’s lifecycle.

What is the importance of the return value from the effect’s logic function?

is used to specify a cleanup function.

What are your learning goals after reading and reviewing the class README?

the lifecycle of a React component