← React Intermediate Questions - Set 5 Q41

What is the purpose of `useEffect` in React?

React Intermediate Questions - Set 5

Example

useEffect(() => { document.title = title; }, [title]);

What to notice

← Back to the question list