concept loading state in category react native

This is an excerpt from Manning's book React Native in Action.
Now, use interpolation to create the loading indicator. You’ll show the indicator when the application loads; in
componentDidMount, you’ll callsetTimeout, which cancels the loading state after 2,000 milliseconds (see figure 7.3). The icon used here is located at https://github.com/dabit3/react-native-in-action/blob/chapter7/assets/35633-200.png; feel free to use it or any other image you want.
With all the methods set up, the last thing to do is implement the UI in the
rendermethod. In People.js, you’ll introduce a new component called theActivityIndicator: a cross-platform circular loading indicator that will indicate the loading state (you can see a list of properties in table 12.1). After thefiltermethod, add the render method as shown next.