From 3473fc18124897a9697e17f82913acad2f066237 Mon Sep 17 00:00:00 2001 From: Deanmv Date: Fri, 9 Sep 2022 15:22:39 +0100 Subject: [PATCH 1/2] docs: Fix incorrect link within usematches example --- examples/usematches-loader-data/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/usematches-loader-data/README.md b/examples/usematches-loader-data/README.md index 417a4cddd6e..e712ab9b955 100644 --- a/examples/usematches-loader-data/README.md +++ b/examples/usematches-loader-data/README.md @@ -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. From a426958f8dd53790e26531ab8503f390692f77db Mon Sep 17 00:00:00 2001 From: Deanmv Date: Fri, 9 Sep 2022 15:24:49 +0100 Subject: [PATCH 2/2] Update contributors.yml --- contributors.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/contributors.yml b/contributors.yml index 169cb7176d3..bc19804e993 100644 --- a/contributors.yml +++ b/contributors.yml @@ -89,6 +89,7 @@ - davecranwell-vocovo - DavidHollins6 - davongit +- deanmv - denissb - derekr - developit