Skip to content

Commit

Permalink
docs(examples/usematches): Fix incorrect link in README (#4170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deanmv committed Sep 9, 2022
1 parent fdcd454 commit 2a22a0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Expand Up @@ -89,6 +89,7 @@
- davecranwell-vocovo
- DavidHollins6
- davongit
- deanmv
- denissb
- derekr
- developit
Expand Down
2 changes: 1 addition & 1 deletion examples/usematches-loader-data/README.md
Expand Up @@ -20,7 +20,7 @@ You can further build custom hooks (`useProjects`, `useUser`, etc.) around the `
No need to use global React contexts anymore to access your React state.

- Check out the [useMatchesData](app/useMatchesData.ts) implementation to see how we use `useMatches`.
- Check out the [useOptionalUser](app/useOptionalUser.ts) implementation to see how to implement `useMatchesData` internally in custom hooks.
- Check out the [useOptionalUser](app/useUser.ts) implementation to see how to implement `useMatchesData` internally in custom hooks.
- Check out the [root](app/root.tsx) loader function, to see that we use loaders to return json data server-side for our routes.
- Check out the [index](app/routes/index.tsx) route, as an example for how to access loader data of parent and child routes across our application with our custom hooks.

Expand Down

0 comments on commit 2a22a0f

Please sign in to comment.