I updating a component level state from inside componentDidMount of my react-native app. The state value is getting updated based on a call to firebase. Depending on the state I