Skip to content

Commit b3b1e58

Browse files
authored
Stabilize unstable_patchRoutesOnNavigation (#11970)
1 parent 4db4082 commit b3b1e58

File tree

8 files changed

+64
-59
lines changed

8 files changed

+64
-59
lines changed

.changeset/warm-melons-shop.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-router": minor
3+
---
4+
5+
Stabilize `unstable_patchRoutesOnNavigation`

packages/react-router/__tests__/dom/partial-hydration-test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describe("Partial Hydration Behavior", () => {
7070
future: {
7171
v7_partialHydration: true,
7272
},
73-
unstable_patchRoutesOnNavigation({ path, patch }) {
73+
patchRoutesOnNavigation({ path, patch }) {
7474
if (path === "/parent/child") {
7575
patch("parent", [
7676
{
@@ -158,7 +158,7 @@ describe("Partial Hydration Behavior", () => {
158158
future: {
159159
v7_partialHydration: true,
160160
},
161-
unstable_patchRoutesOnNavigation({ path, patch }) {
161+
patchRoutesOnNavigation({ path, patch }) {
162162
if (path === "/parent/child") {
163163
patch("parent", [
164164
{

0 commit comments

Comments
 (0)