-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
I couldn't find anywhere in the docs that explain what these do. When a user opens the app by clicking on a scheme url for the app I want the app to go back to the main page. How do I do that? I tried Actions.Main({type: ActionConst.POP_TO});
thinking it would pop till it found Main
but it threw an error so I settled on Actions.Main({type: ActionConst.RESET});
but I'm not really sure what that's doing (although it works).
Is there a good explanation of what these do and when to use them?
Property | Type | Value | Shorthand |
---|---|---|---|
ActionConst.JUMP | string |
'REACT_NATIVE_ROUTER_FLUX_JUMP' | 'jump' |
ActionConst.PUSH | string |
'REACT_NATIVE_ROUTER_FLUX_PUSH' | 'push' |
ActionConst.REPLACE | string |
'REACT_NATIVE_ROUTER_FLUX_REPLACE' | 'replace' |
ActionConst.BACK | string |
'REACT_NATIVE_ROUTER_FLUX_BACK' | 'back' |
ActionConst.BACK_ACTION | string |
'REACT_NATIVE_ROUTER_FLUX_BACK_ACTION' | 'BackAction' |
ActionConst.POP_TO | string |
'REACT_NATIVE_ROUTER_FLUX_POP_TO' | 'popTo' |
ActionConst.REFRESH | string |
'REACT_NATIVE_ROUTER_FLUX_REFRESH' | 'refresh' |
ActionConst.RESET | string |
'REACT_NATIVE_ROUTER_FLUX_RESET' | 'reset' |
ActionConst.FOCUS | string |
'REACT_NATIVE_ROUTER_FLUX_FOCUS' | 'focus' |
eyalella, yeomann, kerimdemir, flavluc, mohsinnaqvi110 and 3 more
Metadata
Metadata
Assignees
Labels
No labels