redux-react-navigation-demos icon indicating copy to clipboard operation
redux-react-navigation-demos copied to clipboard

how to pass the parameters , between components ?

Open isurugajasinghe opened this issue 7 years ago • 0 comments

navigate = () => { const navigateToScreen2 = NavigationActions.navigate({ routeName:'screen2', params:{name:'Shubhnik'} }) // navigateToscreen2 will look like this: /* { "type": "Navigation/NAVIGATE", "routeName": "screen2", "params":{ "name":"Shubhnik" } } */

  // The navigateToScreen2 action is dispatched and new navigation state will be calculated in basicNavigationReducer here ---> https://gist.github.com/shubhnik/b55602633aaeb5919f6f3c15552d1802
  this.props.navigation.dispatch(navigateToScreen2)

}

this method not working

isurugajasinghe avatar Mar 21 '18 11:03 isurugajasinghe