Permalink
Browse files

docs: ✏️ add routing import example

  • Loading branch information...
streamich committed Oct 3, 2018
1 parent 5603d6b commit 92ef481386bb27d794f0f6000f00100637bbf12f
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/en/routing.md
View
@@ -17,6 +17,13 @@ Reference:
- [`createRouter()`](#createrouter)
## Usage
```js
import {Router, Match, Route, Switch, go, Link, createRouter} from 'libreact/lib/route';
```
## Use any state container
With libreact's `<Router>` you can choose to store the current route in your state continer (like Redux or MobX).

0 comments on commit 92ef481

Please sign in to comment.