Kizspy | Question: 27
(Choose 1 answer)
With hook in React Navigation, what will happen if you call useFocus Effect inside a functional component but
provide an empty dependency array?
A. The effect will run only once when the component mounts
B. The effect will run every time the component is focused and not unfocused
C. The effect will not run at all because it needs dependencies to function
D. The effect will run every time the component is rendered, regardless of focus