From c36ba26f8b3a20135763ccb9cd5fe6463473b5bb Mon Sep 17 00:00:00 2001 From: Jules KLU <51366083+yoeko@users.noreply.github.com> Date: Sun, 26 Nov 2023 05:40:11 -0500 Subject: [PATCH] docs: change mention of React context to the latest link version --- versioned_docs/version-7.x/hello-react-navigation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-7.x/hello-react-navigation.md b/versioned_docs/version-7.x/hello-react-navigation.md index b318c2c74ff..6884fcebca3 100755 --- a/versioned_docs/version-7.x/hello-react-navigation.md +++ b/versioned_docs/version-7.x/hello-react-navigation.md @@ -130,7 +130,7 @@ Sometimes we will want to specify the same options for all of the screens in the Sometimes we might want to pass additional props to a screen. We can do that with 2 approaches: -1. Use [React context](https://reactjs.org/docs/context.html) and wrap the navigator with a context provider to pass data to the screens (recommended). +1. Use [React context](https://react.dev/learn/passing-data-deeply-with-context) and wrap the navigator with a context provider to pass data to the screens (recommended). 2. Use a render callback for the screen instead of specifying a `component` prop: ```js