When does the componentDidMount method in React Native get called?
The componentDidMount method in React Native is called after the component is rendered to the screen for the first time. It is often used to perform tasks such as fetching data from an API or subscribing to external events.