feat(tanstack): Register a route provider from the TanStack router matcher - #23554
Closed
logaretm wants to merge 1 commit into
Closed
feat(tanstack): Register a route provider from the TanStack router matcher#23554logaretm wants to merge 1 commit into
logaretm wants to merge 1 commit into
Conversation
5 tasks
Contributor
size-limit report 📦
|
logaretm
force-pushed
the
awad/route-provider-vue
branch
from
August 24, 2026 20:11
3232b67 to
09293e3
Compare
logaretm
force-pushed
the
awad/route-provider-tanstack
branch
from
August 24, 2026 20:11
eae10c7 to
dc3ca38
Compare
logaretm
force-pushed
the
awad/route-provider-vue
branch
from
August 24, 2026 20:17
09293e3 to
2270fa1
Compare
logaretm
force-pushed
the
awad/route-provider-tanstack
branch
from
August 24, 2026 20:17
dc3ca38 to
0291fba
Compare
logaretm
force-pushed
the
awad/route-provider-vue
branch
from
August 24, 2026 20:27
2270fa1 to
0329f44
Compare
logaretm
force-pushed
the
awad/route-provider-tanstack
branch
from
August 24, 2026 20:27
0291fba to
2c93abd
Compare
logaretm
force-pushed
the
awad/route-provider-vue
branch
from
August 24, 2026 20:52
0329f44 to
b97883e
Compare
logaretm
force-pushed
the
awad/route-provider-tanstack
branch
from
August 24, 2026 20:52
2c93abd to
c4319f7
Compare
logaretm
force-pushed
the
awad/route-provider-vue
branch
from
August 24, 2026 20:57
b97883e to
03f9074
Compare
logaretm
force-pushed
the
awad/route-provider-tanstack
branch
from
August 24, 2026 20:57
c4319f7 to
ad1b053
Compare
logaretm
force-pushed
the
awad/route-provider-vue
branch
from
August 31, 2026 16:39
03f9074 to
76f3c07
Compare
logaretm
force-pushed
the
awad/route-provider-tanstack
branch
from
August 31, 2026 16:39
ad1b053 to
a4b2ecc
Compare
…tcher Hoists the existing `resolveRouteMatch` helper out of `afterAllSetup` in each of the three packages so the provider can reuse it, rather than restating the match rules. The matcher is already stateless, so nothing else had to change.
logaretm
force-pushed
the
awad/route-provider-vue
branch
from
August 31, 2026 17:05
76f3c07 to
beda5be
Compare
logaretm
force-pushed
the
awad/route-provider-tanstack
branch
from
August 31, 2026 17:06
a4b2ecc to
8dc3f3d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Registers a route provider from the TanStack Router matcher in the react, solid and vue packages.
resolveRouteMatchalready existed in all three, just scoped insideafterAllSetup. Hoisting it lets the provider reuse it rather than restating the match rules.Worth flagging: these three files are ~60% identical and have drifted. #23299 taught only the react copy to prefer
router.state.locationfor the initial pageload match. Left alone here since it is a behavior fix that deserves its own PR.Part of #23556