Skip to content

Add data route matcher abstraction - #15297

Merged
brophdawg11 merged 13 commits into
mainfrom
brophdawg11/codex-data-route-matcher
Sep 2, 2026
Merged

Add data route matcher abstraction#15297
brophdawg11 merged 13 commits into
mainfrom
brophdawg11/codex-data-route-matcher

Conversation

@brophdawg11

Copy link
Copy Markdown
Contributor

This change introduces a DataRouteMatcher abstraction for data routers while keeping the existing v6 regex route matching behavior as the only implementation.

It keeps route flattening and matching state together so later matching implementations can plug into the same router call sites without changing current behavior.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Preview Build Available

Preview builds have been created for this PR. You can install react-router using:

pnpm install "remix-run/react-router#preview/pr-15297&path:packages/react-router"

And/or install other packages via:

pnpm install "remix-run/react-router#preview/pr-15297&path:packages/react-router-dev"
pnpm install "remix-run/react-router#preview/pr-15297&path:packages/react-router-express"
pnpm install "remix-run/react-router#preview/pr-15297&path:packages/react-router-node"
pnpm install "remix-run/react-router#preview/pr-15297&path:packages/react-router-serve"

These preview builds will be updated automatically as you push new commits.

@brophdawg11
brophdawg11 force-pushed the brophdawg11/codex-data-route-matcher branch 2 times, most recently from d6a4232 to dd294db Compare August 6, 2026 20:14
@brophdawg11
brophdawg11 marked this pull request as ready for review August 6, 2026 20:14
@brophdawg11
brophdawg11 force-pushed the brophdawg11/codex-data-route-matcher branch from b022639 to 57834ce Compare August 7, 2026 13:44
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

✅ CLA Signed

Thanks for signing the Contributor License Agreement.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

✅ Change File Found

One or more change files found.

Type Change
minor Deprecate the createStaticRouter({ branches }) option

@brophdawg11
brophdawg11 force-pushed the brophdawg11/codex-data-route-matcher branch 3 times, most recently from daef0f0 to ba94ff6 Compare August 20, 2026 14:32
Assisted-By: devx/755516d2-c45b-45bf-b52b-d964afb579bb
Assisted-By: devx/755516d2-c45b-45bf-b52b-d964afb579bb
Assisted-By: devx/755516d2-c45b-45bf-b52b-d964afb579bb
Assisted-By: devx/755516d2-c45b-45bf-b52b-d964afb579bb
Assisted-By: devx/597728f0-1b3f-4153-b929-18dbff6cd683
Assisted-By: devx/597728f0-1b3f-4153-b929-18dbff6cd683
@brophdawg11
brophdawg11 force-pushed the brophdawg11/codex-data-route-matcher branch from ba94ff6 to b1609dc Compare August 20, 2026 18:04
Assisted-By: devx/b2552a8f-d5a9-42ae-99b3-bb72dd06a325
Assisted-By: devx/b2552a8f-d5a9-42ae-99b3-bb72dd06a325
…a-route-matcher

# Conflicts:
#	packages/react-router/lib/components.tsx
#	packages/react-router/lib/dom/server.tsx
#	packages/react-router/lib/router/router.ts
@brophdawg11
brophdawg11 merged commit fca7946 into main Sep 2, 2026
12 checks passed
@brophdawg11
brophdawg11 deleted the brophdawg11/codex-data-route-matcher branch September 2, 2026 16:23
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The preview branch preview/pr-15297 has been deleted now that this PR is merged/closed.

@ryanflorence ryanflorence mentioned this pull request Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant