Component - useEffect hook
The useEffect hook lets a React Native component run code after rendering. It helps manage side effects like fetching data, updating the screen, or setting timers. It runs when the component first appears and when specified data changes.