rexport dependencies#543
Conversation
|
|
|
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 |
|
yes, I ended up using that, but it seems like an implicit dependency, I'd rather use the exact same tooling as wouter. I was working on a wrapper that adds entry and exist animations, I only needed that to use matchRoute(), which was quite inconvenient. you can see the original code here: |
there's no way to use the default parser outside of
useRouter(). this PR exposes it