wouter icon indicating copy to clipboard operation
wouter copied to clipboard

rexport dependencies

Open KutnerUri opened this issue 4 months ago • 2 comments

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

KutnerUri avatar Aug 27 '25 16:08 KutnerUri

Review PR in StackBlitz Codeflow 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.

molefrog avatar Nov 21 '25 14:11 molefrog