How does `useEffect` with an empty dependency array behave in a React Native component?
-
A
It runs once after the component mounts and the cleanup function runs on unmount
-
B
It runs on every render of the component
-
C
It runs only when the component unmounts
-
D
It runs before the component renders for the first time