react navigation get screen name with state update code example Example: get current screen name react navigation props.navigation.state.routeName