react-navigation drawer updating multiple timesLoop inside React JSXProgrammatically navigate using react routerReact Navigation with Redux - StackNavigator Load Other Screen Content in BackgroundShow splash screen before show main screen in react native without using 3rd party libraryHow to push a new scene using react-navigation?React Native Navigation invoke all screens componentDidMount/componentWillMount when navigated to Home after loginReact Navigation - Pass props into NavigatorNot able to navigate to other page in react nativeHow to add an image to Header of Navigation Drawer in React Native?React-Native React-Navigation - Using createDrawerNavigator() renders no component header
Why did NASA use Imperial units?
Found old paper shares of Motorola Inc that has since been broken up
Is it possible to access the complete command line including pipes in a bash script?
Host telling me to cancel my booking in exchange for a discount?
How am I supposed to put out fires?
Has Peter Parker ever eaten bugs?
What is a "staved" town, like in "Staverton"?
Bounded Torsion, without Mazur’s Theorem
Are stackless C++20 coroutines a problem?
Why did computer video outputs go from digital to analog, then back to digital?
Why did modems have speakers?
Do I care if the housing market has gone up or down, if I'm moving from one house to another?
How can I calculate the cost of Skyss bus tickets
Is it better to merge "often" or only after completion do a big merge of feature branches?
Book in which the "mountain" in the distance was a hole in the flat world
Xcode 10.3 Installation
What gave NASA the confidence for a translunar injection in Apollo 8?
Are there any English words pronounced with sounds/syllables that aren't part of the spelling?
If hash functions append the length, why does length extension attack work?
Would using carbon dioxide as fuel work to reduce the greenhouse effect?
Do you have to hide in order for other creatures to not know your location inside a fog cloud?
Does switching on an old games console without a cartridge damage it?
Higher calorie ice cream
Progressive key bindings
react-navigation drawer updating multiple times
Loop inside React JSXProgrammatically navigate using react routerReact Navigation with Redux - StackNavigator Load Other Screen Content in BackgroundShow splash screen before show main screen in react native without using 3rd party libraryHow to push a new scene using react-navigation?React Native Navigation invoke all screens componentDidMount/componentWillMount when navigated to Home after loginReact Navigation - Pass props into NavigatorNot able to navigate to other page in react nativeHow to add an image to Header of Navigation Drawer in React Native?React-Native React-Navigation - Using createDrawerNavigator() renders no component header
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am building an application with React Native and React Navigation, I have made all the settings and it is working, however, when the drawer is fired the image is updated multiple times causing spikes and failures to trigger buttons contained in it.
e.g.:
I am using:
react: 16.8.3,
react-native: 0.59.1,
react-native-ui-kitten: ^3.1.2,
react-navigation: ^3.4.0
I was using version 3 of RN and to try to solve I went back to version 2 but without success.
I put some warnings in the method that executes the image and saw that it is called whenever there is this update.
I already changed the image in different sizes and formats but it also did not help.
I already tested on cell phones and emulators but with no success.
Drawer:
import React, Component from 'react';
import
TouchableHighlight,
View,
ScrollView,
Image,
Platform,
StyleSheet,
from 'react-native';
import
RkStyleSheet,
RkText,
RkTheme,
from 'react-native-ui-kitten';
import Icon from 'react-native-vector-icons/Ionicons';
import Routes from '../../config/navigation/routes';
import logo from '../../assets/smallLogo.png';
export default function SideNavigation(props)
const onMenuItemPressed = item =>
props.navigation.navigate(item.id);
;
const renderIcon = () => (<Image style=styles.image source=logo/>);
const renderMenuItem = item => (
<TouchableHighlight style=styles.container key=item.id underlayColor=RkTheme.current.colors.button.underlay activeOpacity=1 onPress=() => onMenuItemPressed(item)>
<View style=styles.content>
<View style=styles.content>
<RkText style=styles.icon rkType='moon primary xlarge'><Icon name=item.icon size=25/></RkText>
<RkText rkType='regular'>item.title</RkText>
</View>
/*<RkText rkType='awesome secondaryColor small'>FontAwesome.chevronRight</RkText>*/
</View>
</TouchableHighlight>
);
const renderMenu = () => Routes.map(renderMenuItem);
return (
<View style=styles.root>
<ScrollView showsVerticalScrollIndicator=false>
<View style=[styles.container, styles.content]>
renderIcon()
</View>
renderMenu()
</ScrollView>
</View>
)
const styles = RkStyleSheet.create(theme => (
container:
height: 60,
paddingHorizontal: 16,
borderTopWidth: StyleSheet.hairlineWidth,
borderColor: theme.colors.border.base,
,
root:
paddingTop: Platform.OS === 'ios' ? 20 : 0,
backgroundColor: theme.colors.screen.base
,
content:
flex: 1,
flexDirection: 'row',
alignItems: 'center',
,
icon:
marginRight: 13,
,
image:
resizeMode: 'contain',
maxWidth: 125
));
Drawer setup:
import React, Component from 'react';
import View, Text from 'react-native';
import Login from './screens/login';
import PasswordRecovery from './screens/passwordRecovery';
import Home from './screens/home';
import SideNavigator from './components/sideMenu';
import bootstrap from './config/bootstrap';
import
createDrawerNavigator,
createStackNavigator,
createAppContainer
from 'react-navigation';
import withRkTheme from 'react-native-ui-kitten';
import NavBar from './components/navBar';
import AppRoutes from './config/navigation/routesBuilder';
import Splash from './screens/splash';
bootstrap();
const renderHeader = (navigation, props) =>
const ThemedNavigationBar = withRkTheme(NavBar);
return (
<ThemedNavigationBar navigation=navigation headerProps=props />
);
;
const App = createStackNavigator(
Splash: Splash,
Login: Login,
PasswordRecovery: PasswordRecovery,
Main: createDrawerNavigator(
...AppRoutes
,
contentComponent: props =>
const SideNav = withRkTheme(SideNavigator);
return <SideNav ...props/>
),
,
headerMode: 'none',
)
export default createAppContainer(App);
Routes setup:
import React from 'react';
import _ from 'lodash';
import createStackNavigator from 'react-navigation';
import withRkTheme from 'react-native-ui-kitten';
import transition from './transitions';
import Routes from './routes';
import NavBar from '../../components/navBar';
const main = ;
const flatRoutes = ;
const routeMapping = (route) => (
screen: withRkTheme(route.screen),
title: route.title,
);
(Routes).forEach(route =>
flatRoutes[route.id] = routeMapping(route);
main[route.id] = routeMapping(route);
route.children.forEach(nestedRoute =>
flatRoutes[nestedRoute.id] = routeMapping(nestedRoute);
);
);
const renderHeader = (navigation, props) =>
const ThemedNavigationBar = withRkTheme(NavBar);
return (
<ThemedNavigationBar navigation=navigation headerProps=props />
);
;
const DrawerRoutes = Object.keys(main).reduce((routes, name) =>
const rawRoutes = routes;
rawRoutes[name] =
name,
screen: createStackNavigator(flatRoutes,
initialRouteName: name,
headerMode: 'screen',
cardStyle: backgroundColor: 'transparent' ,
transitionConfig: transition,
defaultNavigationOptions: ( navigation ) => (
gesturesEnabled: false,
header: (props) => renderHeader(navigation, props),
),
),
;
return rawRoutes;
, );
const AppRoutes = DrawerRoutes;
javascript reactjs react-native react-navigation
add a comment |
I am building an application with React Native and React Navigation, I have made all the settings and it is working, however, when the drawer is fired the image is updated multiple times causing spikes and failures to trigger buttons contained in it.
e.g.:
I am using:
react: 16.8.3,
react-native: 0.59.1,
react-native-ui-kitten: ^3.1.2,
react-navigation: ^3.4.0
I was using version 3 of RN and to try to solve I went back to version 2 but without success.
I put some warnings in the method that executes the image and saw that it is called whenever there is this update.
I already changed the image in different sizes and formats but it also did not help.
I already tested on cell phones and emulators but with no success.
Drawer:
import React, Component from 'react';
import
TouchableHighlight,
View,
ScrollView,
Image,
Platform,
StyleSheet,
from 'react-native';
import
RkStyleSheet,
RkText,
RkTheme,
from 'react-native-ui-kitten';
import Icon from 'react-native-vector-icons/Ionicons';
import Routes from '../../config/navigation/routes';
import logo from '../../assets/smallLogo.png';
export default function SideNavigation(props)
const onMenuItemPressed = item =>
props.navigation.navigate(item.id);
;
const renderIcon = () => (<Image style=styles.image source=logo/>);
const renderMenuItem = item => (
<TouchableHighlight style=styles.container key=item.id underlayColor=RkTheme.current.colors.button.underlay activeOpacity=1 onPress=() => onMenuItemPressed(item)>
<View style=styles.content>
<View style=styles.content>
<RkText style=styles.icon rkType='moon primary xlarge'><Icon name=item.icon size=25/></RkText>
<RkText rkType='regular'>item.title</RkText>
</View>
/*<RkText rkType='awesome secondaryColor small'>FontAwesome.chevronRight</RkText>*/
</View>
</TouchableHighlight>
);
const renderMenu = () => Routes.map(renderMenuItem);
return (
<View style=styles.root>
<ScrollView showsVerticalScrollIndicator=false>
<View style=[styles.container, styles.content]>
renderIcon()
</View>
renderMenu()
</ScrollView>
</View>
)
const styles = RkStyleSheet.create(theme => (
container:
height: 60,
paddingHorizontal: 16,
borderTopWidth: StyleSheet.hairlineWidth,
borderColor: theme.colors.border.base,
,
root:
paddingTop: Platform.OS === 'ios' ? 20 : 0,
backgroundColor: theme.colors.screen.base
,
content:
flex: 1,
flexDirection: 'row',
alignItems: 'center',
,
icon:
marginRight: 13,
,
image:
resizeMode: 'contain',
maxWidth: 125
));
Drawer setup:
import React, Component from 'react';
import View, Text from 'react-native';
import Login from './screens/login';
import PasswordRecovery from './screens/passwordRecovery';
import Home from './screens/home';
import SideNavigator from './components/sideMenu';
import bootstrap from './config/bootstrap';
import
createDrawerNavigator,
createStackNavigator,
createAppContainer
from 'react-navigation';
import withRkTheme from 'react-native-ui-kitten';
import NavBar from './components/navBar';
import AppRoutes from './config/navigation/routesBuilder';
import Splash from './screens/splash';
bootstrap();
const renderHeader = (navigation, props) =>
const ThemedNavigationBar = withRkTheme(NavBar);
return (
<ThemedNavigationBar navigation=navigation headerProps=props />
);
;
const App = createStackNavigator(
Splash: Splash,
Login: Login,
PasswordRecovery: PasswordRecovery,
Main: createDrawerNavigator(
...AppRoutes
,
contentComponent: props =>
const SideNav = withRkTheme(SideNavigator);
return <SideNav ...props/>
),
,
headerMode: 'none',
)
export default createAppContainer(App);
Routes setup:
import React from 'react';
import _ from 'lodash';
import createStackNavigator from 'react-navigation';
import withRkTheme from 'react-native-ui-kitten';
import transition from './transitions';
import Routes from './routes';
import NavBar from '../../components/navBar';
const main = ;
const flatRoutes = ;
const routeMapping = (route) => (
screen: withRkTheme(route.screen),
title: route.title,
);
(Routes).forEach(route =>
flatRoutes[route.id] = routeMapping(route);
main[route.id] = routeMapping(route);
route.children.forEach(nestedRoute =>
flatRoutes[nestedRoute.id] = routeMapping(nestedRoute);
);
);
const renderHeader = (navigation, props) =>
const ThemedNavigationBar = withRkTheme(NavBar);
return (
<ThemedNavigationBar navigation=navigation headerProps=props />
);
;
const DrawerRoutes = Object.keys(main).reduce((routes, name) =>
const rawRoutes = routes;
rawRoutes[name] =
name,
screen: createStackNavigator(flatRoutes,
initialRouteName: name,
headerMode: 'screen',
cardStyle: backgroundColor: 'transparent' ,
transitionConfig: transition,
defaultNavigationOptions: ( navigation ) => (
gesturesEnabled: false,
header: (props) => renderHeader(navigation, props),
),
),
;
return rawRoutes;
, );
const AppRoutes = DrawerRoutes;
javascript reactjs react-native react-navigation
add a comment |
I am building an application with React Native and React Navigation, I have made all the settings and it is working, however, when the drawer is fired the image is updated multiple times causing spikes and failures to trigger buttons contained in it.
e.g.:
I am using:
react: 16.8.3,
react-native: 0.59.1,
react-native-ui-kitten: ^3.1.2,
react-navigation: ^3.4.0
I was using version 3 of RN and to try to solve I went back to version 2 but without success.
I put some warnings in the method that executes the image and saw that it is called whenever there is this update.
I already changed the image in different sizes and formats but it also did not help.
I already tested on cell phones and emulators but with no success.
Drawer:
import React, Component from 'react';
import
TouchableHighlight,
View,
ScrollView,
Image,
Platform,
StyleSheet,
from 'react-native';
import
RkStyleSheet,
RkText,
RkTheme,
from 'react-native-ui-kitten';
import Icon from 'react-native-vector-icons/Ionicons';
import Routes from '../../config/navigation/routes';
import logo from '../../assets/smallLogo.png';
export default function SideNavigation(props)
const onMenuItemPressed = item =>
props.navigation.navigate(item.id);
;
const renderIcon = () => (<Image style=styles.image source=logo/>);
const renderMenuItem = item => (
<TouchableHighlight style=styles.container key=item.id underlayColor=RkTheme.current.colors.button.underlay activeOpacity=1 onPress=() => onMenuItemPressed(item)>
<View style=styles.content>
<View style=styles.content>
<RkText style=styles.icon rkType='moon primary xlarge'><Icon name=item.icon size=25/></RkText>
<RkText rkType='regular'>item.title</RkText>
</View>
/*<RkText rkType='awesome secondaryColor small'>FontAwesome.chevronRight</RkText>*/
</View>
</TouchableHighlight>
);
const renderMenu = () => Routes.map(renderMenuItem);
return (
<View style=styles.root>
<ScrollView showsVerticalScrollIndicator=false>
<View style=[styles.container, styles.content]>
renderIcon()
</View>
renderMenu()
</ScrollView>
</View>
)
const styles = RkStyleSheet.create(theme => (
container:
height: 60,
paddingHorizontal: 16,
borderTopWidth: StyleSheet.hairlineWidth,
borderColor: theme.colors.border.base,
,
root:
paddingTop: Platform.OS === 'ios' ? 20 : 0,
backgroundColor: theme.colors.screen.base
,
content:
flex: 1,
flexDirection: 'row',
alignItems: 'center',
,
icon:
marginRight: 13,
,
image:
resizeMode: 'contain',
maxWidth: 125
));
Drawer setup:
import React, Component from 'react';
import View, Text from 'react-native';
import Login from './screens/login';
import PasswordRecovery from './screens/passwordRecovery';
import Home from './screens/home';
import SideNavigator from './components/sideMenu';
import bootstrap from './config/bootstrap';
import
createDrawerNavigator,
createStackNavigator,
createAppContainer
from 'react-navigation';
import withRkTheme from 'react-native-ui-kitten';
import NavBar from './components/navBar';
import AppRoutes from './config/navigation/routesBuilder';
import Splash from './screens/splash';
bootstrap();
const renderHeader = (navigation, props) =>
const ThemedNavigationBar = withRkTheme(NavBar);
return (
<ThemedNavigationBar navigation=navigation headerProps=props />
);
;
const App = createStackNavigator(
Splash: Splash,
Login: Login,
PasswordRecovery: PasswordRecovery,
Main: createDrawerNavigator(
...AppRoutes
,
contentComponent: props =>
const SideNav = withRkTheme(SideNavigator);
return <SideNav ...props/>
),
,
headerMode: 'none',
)
export default createAppContainer(App);
Routes setup:
import React from 'react';
import _ from 'lodash';
import createStackNavigator from 'react-navigation';
import withRkTheme from 'react-native-ui-kitten';
import transition from './transitions';
import Routes from './routes';
import NavBar from '../../components/navBar';
const main = ;
const flatRoutes = ;
const routeMapping = (route) => (
screen: withRkTheme(route.screen),
title: route.title,
);
(Routes).forEach(route =>
flatRoutes[route.id] = routeMapping(route);
main[route.id] = routeMapping(route);
route.children.forEach(nestedRoute =>
flatRoutes[nestedRoute.id] = routeMapping(nestedRoute);
);
);
const renderHeader = (navigation, props) =>
const ThemedNavigationBar = withRkTheme(NavBar);
return (
<ThemedNavigationBar navigation=navigation headerProps=props />
);
;
const DrawerRoutes = Object.keys(main).reduce((routes, name) =>
const rawRoutes = routes;
rawRoutes[name] =
name,
screen: createStackNavigator(flatRoutes,
initialRouteName: name,
headerMode: 'screen',
cardStyle: backgroundColor: 'transparent' ,
transitionConfig: transition,
defaultNavigationOptions: ( navigation ) => (
gesturesEnabled: false,
header: (props) => renderHeader(navigation, props),
),
),
;
return rawRoutes;
, );
const AppRoutes = DrawerRoutes;
javascript reactjs react-native react-navigation
I am building an application with React Native and React Navigation, I have made all the settings and it is working, however, when the drawer is fired the image is updated multiple times causing spikes and failures to trigger buttons contained in it.
e.g.:
I am using:
react: 16.8.3,
react-native: 0.59.1,
react-native-ui-kitten: ^3.1.2,
react-navigation: ^3.4.0
I was using version 3 of RN and to try to solve I went back to version 2 but without success.
I put some warnings in the method that executes the image and saw that it is called whenever there is this update.
I already changed the image in different sizes and formats but it also did not help.
I already tested on cell phones and emulators but with no success.
Drawer:
import React, Component from 'react';
import
TouchableHighlight,
View,
ScrollView,
Image,
Platform,
StyleSheet,
from 'react-native';
import
RkStyleSheet,
RkText,
RkTheme,
from 'react-native-ui-kitten';
import Icon from 'react-native-vector-icons/Ionicons';
import Routes from '../../config/navigation/routes';
import logo from '../../assets/smallLogo.png';
export default function SideNavigation(props)
const onMenuItemPressed = item =>
props.navigation.navigate(item.id);
;
const renderIcon = () => (<Image style=styles.image source=logo/>);
const renderMenuItem = item => (
<TouchableHighlight style=styles.container key=item.id underlayColor=RkTheme.current.colors.button.underlay activeOpacity=1 onPress=() => onMenuItemPressed(item)>
<View style=styles.content>
<View style=styles.content>
<RkText style=styles.icon rkType='moon primary xlarge'><Icon name=item.icon size=25/></RkText>
<RkText rkType='regular'>item.title</RkText>
</View>
/*<RkText rkType='awesome secondaryColor small'>FontAwesome.chevronRight</RkText>*/
</View>
</TouchableHighlight>
);
const renderMenu = () => Routes.map(renderMenuItem);
return (
<View style=styles.root>
<ScrollView showsVerticalScrollIndicator=false>
<View style=[styles.container, styles.content]>
renderIcon()
</View>
renderMenu()
</ScrollView>
</View>
)
const styles = RkStyleSheet.create(theme => (
container:
height: 60,
paddingHorizontal: 16,
borderTopWidth: StyleSheet.hairlineWidth,
borderColor: theme.colors.border.base,
,
root:
paddingTop: Platform.OS === 'ios' ? 20 : 0,
backgroundColor: theme.colors.screen.base
,
content:
flex: 1,
flexDirection: 'row',
alignItems: 'center',
,
icon:
marginRight: 13,
,
image:
resizeMode: 'contain',
maxWidth: 125
));
Drawer setup:
import React, Component from 'react';
import View, Text from 'react-native';
import Login from './screens/login';
import PasswordRecovery from './screens/passwordRecovery';
import Home from './screens/home';
import SideNavigator from './components/sideMenu';
import bootstrap from './config/bootstrap';
import
createDrawerNavigator,
createStackNavigator,
createAppContainer
from 'react-navigation';
import withRkTheme from 'react-native-ui-kitten';
import NavBar from './components/navBar';
import AppRoutes from './config/navigation/routesBuilder';
import Splash from './screens/splash';
bootstrap();
const renderHeader = (navigation, props) =>
const ThemedNavigationBar = withRkTheme(NavBar);
return (
<ThemedNavigationBar navigation=navigation headerProps=props />
);
;
const App = createStackNavigator(
Splash: Splash,
Login: Login,
PasswordRecovery: PasswordRecovery,
Main: createDrawerNavigator(
...AppRoutes
,
contentComponent: props =>
const SideNav = withRkTheme(SideNavigator);
return <SideNav ...props/>
),
,
headerMode: 'none',
)
export default createAppContainer(App);
Routes setup:
import React from 'react';
import _ from 'lodash';
import createStackNavigator from 'react-navigation';
import withRkTheme from 'react-native-ui-kitten';
import transition from './transitions';
import Routes from './routes';
import NavBar from '../../components/navBar';
const main = ;
const flatRoutes = ;
const routeMapping = (route) => (
screen: withRkTheme(route.screen),
title: route.title,
);
(Routes).forEach(route =>
flatRoutes[route.id] = routeMapping(route);
main[route.id] = routeMapping(route);
route.children.forEach(nestedRoute =>
flatRoutes[nestedRoute.id] = routeMapping(nestedRoute);
);
);
const renderHeader = (navigation, props) =>
const ThemedNavigationBar = withRkTheme(NavBar);
return (
<ThemedNavigationBar navigation=navigation headerProps=props />
);
;
const DrawerRoutes = Object.keys(main).reduce((routes, name) =>
const rawRoutes = routes;
rawRoutes[name] =
name,
screen: createStackNavigator(flatRoutes,
initialRouteName: name,
headerMode: 'screen',
cardStyle: backgroundColor: 'transparent' ,
transitionConfig: transition,
defaultNavigationOptions: ( navigation ) => (
gesturesEnabled: false,
header: (props) => renderHeader(navigation, props),
),
),
;
return rawRoutes;
, );
const AppRoutes = DrawerRoutes;
javascript reactjs react-native react-navigation
javascript reactjs react-native react-navigation
edited Mar 26 at 13:49
Vencovsky
3,5651 gold badge9 silver badges32 bronze badges
3,5651 gold badge9 silver badges32 bronze badges
asked Mar 26 at 13:38
Márcio EricMárcio Eric
1408 bronze badges
1408 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55358555%2freact-navigation-drawer-updating-multiple-times%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55358555%2freact-navigation-drawer-updating-multiple-times%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown