python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Is it possible to get the state from my reducer into my navigation if its not a component,
I am using a different format for navigation but I want to show a number from state when people add items in the tab
tabBarBadge: 'allows a string';
but I need state from the store and I don't know ho...
Ryan Hartley
Votes: 0
Answers: 1
React Navigation: addListener('didFocus') called over and over
I'm using react-navigation@4.0.10 in my React Native app, and I want to trigger a function whenever the user switches tabs in my tab navigator. I tried this:
componentDidMount() {
this.props.navig...
gkeenley
Votes: 0
Answers: 0
React native disable timer in bottom navigation not working
I have 4 screens in bottom navigation.
The first screen consists of a map with the timer of 10s . As soon as the timer get executed the api is hit.
But when a user switch the screen with bottom naviga...
Ravi Parmar
Votes: 0
Answers: 1
React Navigation: How to pass a prop to a screen in a nested navigator?
In my React Native app I have the following TabNavigator nested inside an AppNavigator:
const TabNavigator = () => (
<Tab.Navigator>
<Tab.Screen component={Screen1} />
<...
gkeenley
Votes: 0
Answers: 1