Support express style routing with trailing wildcard
Open
- Dominant language
- JavaScript
- Stars
- 6.8k
- Forks
- 573
- PR merge metrics
- No merged PRs in 30d
Description
### Expected behavior
`/route/match*` is a standard behavior.
### Actual behavior
`/route/match*` breaks the router.
### Steps to reproduce behavior
If you do `/route/match*` , and then navigate to `/route/match/` or `/route/match` you get an error in both cases. So, you need to double up with:
`/route/match`
`/route/match/*`
And this creates discrepancy between `express` and `choo` methodology which is visible especially when passing routes down to `choo` from `express` level to accomplish SSR.
Contributor guide
Assessment
This issue has not been assessed yet.