Closed lfkwtz closed 6 years ago
Not sure if this has been brought up before, but what's the logic in having different param signatures between the two?
navigation.navigate('sampleRoute', {sampleParam: 'hello'})
vs.
NavigationActions.navigate({ routeName: 'sampleRoute', params: {sampleParam: 'hello'}, })
the reason is that the helper is more concise
Not sure if this has been brought up before, but what's the logic in having different param signatures between the two?
navigation.navigate('sampleRoute', {sampleParam: 'hello'})
vs.