wouter
wouter copied to clipboard
rexport dependencies
there's no way to use the default parser outside of useRouter(). this PR exposes it
Run & review this pull request in StackBlitz Codeflow.
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.