There are seven lifecycle methods in React Native: constructor, render, componentDidMount, componentDidUpdate, componentWillUnmount, shouldComponentUpdate, and getDerivedStateFromProps.
Question 2 of 20 in React Native Component Lifecycle