react-native icon indicating copy to clipboard operation
react-native copied to clipboard

[NavigatorIOS] back button and componentWillReceiveProps

Open go1t opened this issue 11 years ago • 2 comments

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 avatar Mar 29 '15 02:03 go1t

@igodzp Any updates?

christopherdro avatar Jul 20 '15 21:07 christopherdro

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? :smile: 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.

brentvatne avatar Jul 20 '15 22:07 brentvatne