Skip to content

Conversation

akshatsinha0
Copy link

First I would like to ask if exporting allowed? ...or if it need more expansions?
added urlpat to @remix-run/route-pattern. This return a native URLPattern for pathname only patterns (vars,etc). Added a createRouter helper inside route-pattern getter(pat,handler), all(pattern, handler), handle(request) will uses the concerned pattern when available, Fallback to RoutePattern.match otherwise
Exposes both urlpat and createRouter from the route-pattern package index.

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