Skip to content

Commit

Permalink
Update context provider link to point to React's new documentation si…
Browse files Browse the repository at this point in the history
…te (#11290)

Co-authored-by: Tim Dorr <timdorr@users.noreply.github.com>
  • Loading branch information
thepedroferrari and timdorr committed Feb 20, 2024
1 parent c164837 commit 56fbdb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@
- swalker326
- tanayv
- thecode00
- thepedroferrari
- theostavrides
- thisiskartik
- thomasverleye
Expand Down
2 changes: 1 addition & 1 deletion docs/hooks/use-outlet-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ declare function useOutletContext<

</details>

Often parent routes manage state or other values you want shared with child routes. You can create your own [context provider](https://reactjs.org/docs/context.html) if you like, but this is such a common situation that it's built-into `<Outlet />`:
Often parent routes manage state or other values you want shared with child routes. You can create your own [context provider](https://react.dev/learn/passing-data-deeply-with-context) if you like, but this is such a common situation that it's built-into `<Outlet />`:

```tsx lines=[3]
function Parent() {
Expand Down

0 comments on commit 56fbdb2

Please sign in to comment.