Skip to content

Update documentation on react-dispatcher and Flux #2195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docs/flux-todo-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ We'll use the dispatcher from the [Flux GitHub repository](https://github.com/fa

The dispatcher's source code is written in [ECMAScript 6](https://github.com/lukehoban/es6features), the future version of JavaScript. To use the future of JS in today's browser's we need to transpile it back to a version of JS that browsers can use. We perform this build step, transpiling from ES6 into common JavaScript, using npm.

You can get up and running with the dispatcher in a variety of ways, but perhaps the simplest is to use [Michael Jackson](https://twitter.com/mjackson)'s npm module version of the Flux project, called [react-dispatcher](https://www.npmjs.org/package/react-dispatcher):
Use Facebook's [flux](https://www.npmjs.org/package/flux) to get dispatcher up and running:

```
npm install react-dispatcher
npm install flux
```

Afterward, you can require the dispatcher in your project's modules like so:
Expand Down