Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lingyan committed Jan 24, 2015
1 parent c1737b2 commit 5b046f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -9,10 +9,11 @@
Provides navigational React components (`NavLink`) and router mixin (`RouterMixin`) for applications built with [Flux](http://facebook.github.io/react/docs/flux-overview.html) architecture. Please check out [examples](https://github.com/yahoo/flux-router-component/tree/master/examples) of how to use these components.

## Context and Expected Context Methods

Before we explain how to use `NavLink` and `RouterMixin`, lets start with two methods they expect:

* executeAction(navigateAction, payload) - This executes navigate action, switches the app to the new route, and update the url.
* makePath(routeName, routeParams) - This is used to generate url for a given route.
* `executeAction(navigateAction, payload)` - This executes navigate action, switches the app to the new route, and update the url.
* `makePath(routeName, routeParams)` - This is used to generate url for a given route.

These two methods need to be available in:

Expand Down

0 comments on commit 5b046f9

Please sign in to comment.