Skip to content

Commit

Permalink
Stabilize unstable_patchRoutesOnNavigation
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Sep 9, 2024
1 parent 3df18ca commit de4bc2d
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 59 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-melons-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-router": minor
---

Stabilize `unstable_patchRoutesOnNavigation`
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe("Partial Hydration Behavior", () => {
future: {
v7_partialHydration: true,
},
unstable_patchRoutesOnNavigation({ path, patch }) {
patchRoutesOnNavigation({ path, patch }) {
if (path === "/parent/child") {
patch("parent", [
{
Expand Down Expand Up @@ -158,7 +158,7 @@ describe("Partial Hydration Behavior", () => {
future: {
v7_partialHydration: true,
},
unstable_patchRoutesOnNavigation({ path, patch }) {
patchRoutesOnNavigation({ path, patch }) {
if (path === "/parent/child") {
patch("parent", [
{
Expand Down
Loading

0 comments on commit de4bc2d

Please sign in to comment.