js-location
v0.0.6
Published
location class to track url and api params
Downloads
2
Readme
js-location
keeps api params in sink with urls
You can use it with universal-router to replace packages like react-router. See the example.
And then instead lame window.location like locations injected into your props you can get your super-sweet api aware locations, and then remove a lot of crufty code out the view.
Install
npm i js-location
Docs
You can build the example by cd example && make
Dev
git clone https://github.com/NCarson/js-location.git
cd js-location && make