Skip to content

Conversation

@KutnerUri
Copy link

there's no way to use the default parser outside of useRouter(). this PR exposes it

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@molefrog
Copy link
Owner

Hi @KutnerUri thanks for your contribution. The default parser is actually just a function from: https://github.com/lukeed/regexparam

Would it make sense to mention it in the README instead of exporting (e.g. "the default value of parser in Router is parse function from regexparam")? Just really want to keep the bundle size lean.

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.

2 participants