Skip to content

ref(routing): convert matchRoute to iterative with targeted recursive fallback#48

Merged
BizWiz3 merged 1 commit intomainfrom
enhance-routing
Apr 26, 2026
Merged

ref(routing): convert matchRoute to iterative with targeted recursive fallback#48
BizWiz3 merged 1 commit intomainfrom
enhance-routing

Conversation

@Leoj030
Copy link
Copy Markdown
Collaborator

@Leoj030 Leoj030 commented Apr 26, 2026

Replace fully recursive matchRoute with an iterative approach using an explicit index via matchRouteFrom. Recursion is now scoped only to nodes where both dynamicChild and wildcardChild coexist, enabling proper dynamic-first fallback to wildcard without polluting params on dead ends.

… fallback

Replace fully recursive matchRoute with an iterative approach using an
explicit index via matchRouteFrom. Recursion is now scoped only to nodes
where both dynamicChild and wildcardChild coexist, enabling proper
dynamic-first fallback to wildcard without polluting params on dead ends.
@BizWiz3 BizWiz3 merged commit 91c641d into main Apr 26, 2026
@BizWiz3 BizWiz3 deleted the enhance-routing branch April 26, 2026 07:22
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.

2 participants