QubitProducts / cherrytree

A flexible nested router.
MIT License
108 stars 20 forks source link

Add isActive method #132

Closed oliverwoodings closed 8 years ago

oliverwoodings commented 8 years ago

There is a really useful method in react-router that allows you to see if a route is active, including params + query. After working with cherrytree I have found myself missing this function when building navbars. I'll try and put a PR in for it.