4Catalyzer / found

Extensible route-based routing for React applications
https://4catalyzer.github.io/found/
MIT License
794 stars 55 forks source link

Is the route property intentionally missing from the `Match` API? #1056

Open steinybot opened 7 months ago

steinybot commented 7 months ago

I just noticed while debugging that the Match has route and routes properties. Only routes is on the TS type. Was route meant to be part of the public API too? It is often the most useful part and having quick access to it rather than pulling out the last element from the routes array would be convenient.