Patch Changes
📢 Refine Community Release 📢
- chore: update package descriptions
📢 Refine Community Release 📢
-
feat: React Router v6 to v7 codemod added.
For
@refinedev/react-router-v6
to@refinedev/react-router
:npx @refinedev/codemod@latest refine-react-router-v6-to-refine-react-router
import routerProvider, { NavigateToResource, UnsavedChangesNotifier, DocumentTitleHandler } - from "@refinedev/react-router-v6"; import routerProvider, { NavigateToResource, UnsavedChangesNotifier, DocumentTitleHandler } + from "@refinedev/react-router";
For
react-router-dom
toreact-router
:npx @refinedev/codemod@latest react-router-dom-to-react-router"
-import { RouterProvider } from "react-router-dom"; +import { RouterProvider } from "react-router";
See the migration guide React Router v6 to v7 for more information.