How does the useEffect dependency array work: no array, [], and [a, b]?
The answer
Answer it out loud first, the way you would in the interview. Then compare.
Checking your sign-in…
useEffect dependency array work: no array, [], and [a, b]?Answer it out loud first, the way you would in the interview. Then compare.
Checking your sign-in…
New here? Ask where to start, what each guide covers, or how the interactive lessons work. Tuto answers and links you to the right page.
Your first 3 answers need no account. for free to keep asking.