Skip to content

Commit

Permalink
Fixed React Router warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie6king committed Nov 19, 2024
1 parent 64ce61e commit 0a6d1a7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion client.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@ const router = createBrowserRouter([
path: "/location",
element: <Weather />,
},
]);
], {
future: {
v7_startTransition: true,
v7_fetcherPersist: true,
v7_normalizeFormMethod: true,
v7_partialHydration: true,
v7_skipActionErrorRevalidation: true,
v7_relativeSplatPath: true
}
});

// render react
root.render(
Expand Down

0 comments on commit 0a6d1a7

Please sign in to comment.