React Context with React Navigation

How to Pass Props to Screens via Context Provider in React Navigation 5

There are different ways you might pass additional props (data) down to multiple screens in React navigation, but the recommended way is to use React Context and wrap the navigator with a context provider, passing the props data to the screens. In this lesson, you’ll learn how to pass props to screens using React Context…
Read more