0.0.4 • Published 7 years ago

match-routes-to-location v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

match-routes-to-location

Extracted from React Router 4 to be used with React Router 3

When using React Router 3 for SSR, it can be tricky to access the currently matched route for performing specific operations. React Router 4's routes addons seem to fix this problem, but unfortunately there's nothing available for React Router 3.

This package exports a single function, matchRoutesToLocation. For more information on its use, see the official docs, but note that the usage might change over time.

Installation

npm install -g yarn
yarn install match-routes-to-location
0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago