React Navigation
Create
Log in
Sign up
Roadmap
Feedback
Feature Requests
Voters
Pedro Beirão Fernandes
Powered by Canny
1
navigation state get parent key
complete
Pedro Beirão Fernandes
Many times we have a list, post and success flux and if we get the parent key from the state will simplify the goBack function in this case
April 24, 2018
Brent Vatne
marked this post as
complete
May 7, 2018
Brent Vatne
you can do this with
this.props.navigation.dangerouslyGetParent().state.key
now
·
May 7, 2018
·
Reply
Pedro Beirão Fernandes
Brent Vatne
: thanks :)
·
May 7, 2018
·
Reply
Powered by Canny