Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NavigatorIOS] back button and componentWillReceiveProps #428

Closed
go1t opened this issue Mar 29, 2015 · 2 comments
Closed

[NavigatorIOS] back button and componentWillReceiveProps #428

go1t opened this issue Mar 29, 2015 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@go1t
Copy link

go1t commented Mar 29, 2015

I have 2 components: HomeScreen (initialRoute) and SettingScreen. When the right nav button is clicked, the SettingScreen is pushed to the navigator.

The problem is whenever the back button is clicked, the componentWillReceiveProps function in the HomeScreen triggers. Is this behavior intentional?

@go1t go1t changed the title NavigatorIOS replace the route with similar route NavigatorIOS back button and mounting Mar 29, 2015
@go1t go1t changed the title NavigatorIOS back button and mounting NavigatorIOS back button and componentWillReceiveProps Mar 29, 2015
@brentvatne brentvatne changed the title NavigatorIOS back button and componentWillReceiveProps [NavigatorIOS] back button and componentWillReceiveProps May 31, 2015
@christopherdro
Copy link
Contributor

@igodzp Any updates?

@brentvatne
Copy link
Collaborator

Unfortunately we don't have anybody working on NavigatorIOS, Navigator is the recommended way to go. I can't comment on whether or not this is intended, but if you can point to why this is a problem for you and explain your use case then we can discuss further! Is it causing issues for you? And is this still happening? 😄 Sorry for not getting back to you more quickly. Feel free to ping me and I can reopen this if this is causing you problems.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 23, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants