Skip to content

Focus is on react-navigation StackNavigator handling click event to move to the next page when the user selects a item from a FlatList Component. We show the FlatList Component, the use of the StackNavigator but instead of passing parameters between pages, we use the Context API to update the state to show the current item on the detail page

Notifications You must be signed in to change notification settings

aaronksaunders/hello-world-v3-stacknavigator-context-api

Repository files navigation

React Native App w/StackNavigator & Context API

Focus is on react-navigation StackNavigator handling click event to move to the next page when the user selects a item from a FlatList Component. We show the FlatList Component, the use of the StackNavigator but instead of passing parameters between pages, we use the Context API to update the state to show the current item on the detail page


See the same application implemented with React Redux - hello-world-v3-stacknavigator-redux


See Video for the first building out sample without Context API - React Native - React Navigation StackNavigator Expo.io Snack - PART 2 https://youtu.be/qe-yU7E9Snc via @YouTube

More Information on React

About

Focus is on react-navigation StackNavigator handling click event to move to the next page when the user selects a item from a FlatList Component. We show the FlatList Component, the use of the StackNavigator but instead of passing parameters between pages, we use the Context API to update the state to show the current item on the detail page

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published