Skip to content

feat: remove MdxRoute and react-router-mdx dependency#1227

Draft
jderochervlk wants to merge 1 commit intovlk/split-out-api-overviewfrom
vlk/remove-mdx-route
Draft

feat: remove MdxRoute and react-router-mdx dependency#1227
jderochervlk wants to merge 1 commit intovlk/split-out-api-overviewfrom
vlk/remove-mdx-route

Conversation

@jderochervlk
Copy link
Copy Markdown
Collaborator

  • Delete MdxRoute.res and MdxRoute.resi (all pages now handled by split routes)
  • Remove react-router-mdx from package.json and delete yarn patch
  • Remove react-router-mdx externals from Mdx.res (loadMdx, loadAllMdx, useMdxComponent, useMdxAttributes, useMdxFiles, allMdx wrapper)
  • Remove mdxRoutes binding from ReactRouter.res
  • Remove mdxRoutes variable and spread from routes.res
  • Remove react-router-mdx init from react-router.config.mjs and generate-route-types.mjs
  • Migrate BlogRoute to use MdxFile.loadAllAttributes instead of Mdx.allMdx
  • Migrate SyntaxLookupRoute to use MdxFile.loadAllAttributes instead of loadAllMdx

- Delete MdxRoute.res and MdxRoute.resi (all pages now handled by split routes)
- Remove react-router-mdx from package.json and delete yarn patch
- Remove react-router-mdx externals from Mdx.res (loadMdx, loadAllMdx, useMdxComponent, useMdxAttributes, useMdxFiles, allMdx wrapper)
- Remove mdxRoutes binding from ReactRouter.res
- Remove mdxRoutes variable and spread from routes.res
- Remove react-router-mdx init from react-router.config.mjs and generate-route-types.mjs
- Migrate BlogRoute to use MdxFile.loadAllAttributes instead of Mdx.allMdx
- Migrate SyntaxLookupRoute to use MdxFile.loadAllAttributes instead of loadAllMdx
@jderochervlk jderochervlk force-pushed the vlk/remove-mdx-route branch from b4e2ece to d20ee94 Compare April 3, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant