q3e / react-native-github-graphql-app

React Native App that searches github projects and their contributors[WIP]
MIT License
2 stars 0 forks source link

How to Pass Data between screens without using state or redux #6

Closed q3e closed 7 years ago

q3e commented 7 years ago

Using react-navigation npm package and passing data between props and screens using params in navigator

references:

https://reactnavigation.org/docs/navigators/navigation-actions#Navigate

https://stackoverflow.com/questions/44636886/react-native-how-to-pass-props-navigating-from-one-screen-to-another

https://stackoverflow.com/questions/45388957/how-to-pass-parameters-to-screen-in-stacknavigator

q3e commented 7 years ago

See this commit https://github.com/bnovf/react-native-github-graphql-app/commit/cffff19f39bee38769f6de54af664bcbacd5d7d1