This is what is used:
useEffect(callback[, dependencies]);
Why does the square brakets begin with a coma? I my mind , I have something like this:
useEffect(callback, [dependencies]);
Thanks for your explanations.
This is what is used:
useEffect(callback[, dependencies]);
Why does the square brakets begin with a coma? I my mind , I have something like this:
useEffect(callback, [dependencies]);
Thanks for your explanations.