troch / route-node

A package to create a tree of named routes
MIT License
20 stars 15 forks source link

Allow partial matching with RouteNode #7

Closed grumd closed 6 years ago

grumd commented 7 years ago

Could be used with router5 using router.rootNode.matchPath()

I made this change via github UI, so writing tests here wasn't really convenient. If you really need me to write some tests for this, feel free to tell me, I'll then clone the repo locally and finish the PR properly.

troch commented 7 years ago

Hi @grumd, sorry for the late reply. Yes please, add tests!