/router

A router driver built on top of @motorcycle/history

Primary LanguageJavaScriptMIT LicenseMIT

@motorcycle/router

A router driver built on-top of @motorcycle/history

This driver builds on top of @motorcycle/history to create a router. makeRouterDriver(history) expects the same type of history object as @motorcycle/history. The input (sink returned by main()) to the driver is the same as that supported by @motorcycle/history. However the output (source injected to main()) is very different. See the API documentation for more information.

Install

npm install --save @motorcycle/router

Want to Contribute?

If you found an issue or want to contribute code, please read the contributing guidelines

Documentation

  • API Documentation can be found here!
  • @motorcylce/history API Documentation can be found here!
  • A shortcut to the rackt/history docs