This transformation adds the necessary configuration to enable v7 features, specifically adds the v7_normalizeFormMethod
Before
const router = createBrowserRouter(routes);
After
const router = createBrowserRouter(routes, {future: {v7_normalizeFormMethod: true,},});
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community