Skip to content

[NavigatorIOS] back button and componentWillReceiveProps #428

@go1t

Description

@go1t

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions