js-location

0.0.6 • Public • Published

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

api

example

You can build the example by cd example && make

Dev

git clone https://github.com/NCarson/js-location.git cd js-location && make

Readme

Keywords

none

Package Sidebar

Install

npm i js-location

Weekly Downloads

21

Version

0.0.6

License

MIT

Unpacked Size

27 kB

Total Files

10

Last publish

Collaborators

  • ncarson