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
2 people authored and mcansh committed May 2, 2023
1 parent ef44890 commit 410e669
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 @@ -380,6 +380,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 410e669

Please sign in to comment.