Skip to content

Commit

Permalink
feat(remix-react): export react-router-dom's useMatch hook (#5257)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Brophy <[email protected]>
  • Loading branch information
nicksrandall and brophdawg11 authored May 2, 2023
1 parent 2e9c413 commit bc78238
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/export-use-match.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remix-run/react": patch
---

Add `useMatch` re-export from `react-router-dom`
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@
- nicksrandall
- nickytonline
- niconiahi
- nicksrandall
- nielsdb97
- NikkiDelRosso
- ninjaPixel
Expand Down
1 change: 1 addition & 0 deletions packages/remix-react/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export {
useFormAction,
useHref,
useLocation,
useMatch,
useNavigate,
useNavigation,
useNavigationType,
Expand Down

0 comments on commit bc78238

Please sign in to comment.