Backend Engineering, Frontend Engineering
Senior
programming
When would you use the second argument in useEffect?\n\nA) To specify dependencies that will trigger the effect on change.\nB) To run the effect only once on mount.\nC) To prevent infinite loops.\nD) All of the above.
Suggested Answer