From 89bb3f204710c0d618719f43cea5d04ecde31def Mon Sep 17 00:00:00 2001 From: Tim Dorr Date: Mon, 1 Dec 2025 14:20:07 -0600 Subject: [PATCH 1/2] Update useNavigate example (#14616) --- docs/api/hooks/useNavigate.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/api/hooks/useNavigate.md b/docs/api/hooks/useNavigate.md index ffc0cf2a2d..58de33ba20 100644 --- a/docs/api/hooks/useNavigate.md +++ b/docs/api/hooks/useNavigate.md @@ -78,12 +78,14 @@ navigate("/some/route?search=param"); All properties are optional. ```tsx -navigate({ - pathname: "/some/route", - search: "?search=param", - hash: "#hash", - state: { some: "state" }, -}); +navigate( + { + pathname: "/some/route", + search: "?search=param", + hash: "#hash", + }, + { state: { some: "state" } } +); ``` If you use `state`, that will be available on the [`Location`](https://api.reactrouter.com/v7/interfaces/react_router.Location.html) object on From 24ed64bf8d09edfb1bff1b493f3967485cf06bec Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Mon, 1 Dec 2025 15:52:54 -0500 Subject: [PATCH 2/2] Update to latest release-comment-action workflow --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 049206bc40..e8c5887124 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -129,11 +129,12 @@ jobs: fetch-depth: 0 - name: 📝 Comment on related issues and pull requests - uses: remix-run/release-comment-action@v0.4.3 + uses: remix-run/release-comment-action@v0.5.0 with: DIRECTORY_TO_CHECK: "./packages" PACKAGE_NAME: "react-router" ISSUE_LABELS_TO_REMOVE: "awaiting release" + ISSUE_LABELS_TO_KEEP_OPEN: "🗺 Roadmap" # HEADS UP! this "nightly" job will only ever run on the `main` branch due to # it being a cron job, and the last commit on main will be what github shows