If you provide an empty dependency array in useEffect, the effect will run once after the initial render and will not run again for subsequent renders
Question 19 of 22 in useEffect