Skip to content

Dispatch redux action before Switch's selector picks a scene? #753

Closed
@boulajp

Description

@boulajp

Version

Tell us which versions you are using (react native 0.26 is required for v3):

  • react-native-router-flux v3.26.5
  • react-native v0.26.0

I know that this isn't SO, but I figure this is the best place to ask how to do this.
I need to dispatch an action which triggers a Facebook sign in before deciding which scene to pick by reading the part of the redux state which was modified by that action.

Is this something which is possible using Switch? If so, could you give a short example?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions