This repository has been archived by the owner on Oct 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename things to react-router-redux! Exciting!
- Loading branch information
Showing
9 changed files
with
38 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,27 @@ | ||
redux-simple-router basic example | ||
react-router-redux basic example | ||
================================= | ||
|
||
This is a basic example that demonstrates rendering components based | ||
on URLs with `react-router` as well as connecting them to Redux state. | ||
It uses both <Link> elements as well as the `push` action creator | ||
provided by redux-simple-router. | ||
It uses both <Link> elements as well as the `push` action creator | ||
provided by react-router-redux. | ||
|
||
This example also demonstrates integration with | ||
This example also demonstrates integration with | ||
**[redux-devtools](https://github.com/gaearon/redux-devtools) ^3.0.0** | ||
|
||
**To run, follow these steps:** | ||
|
||
1. Install dependencies with `npm install` in this directory (make sure it creates a local node_modules) | ||
2. By default, it uses the local version from `src` of redux-simple-router, so you need to run `npm install` from there first. If you want to use a version straight from npm, remove the lines in `webpack.config.js` at the bottom. | ||
2. By default, it uses the local version from `src` of react-router-redux, so you need to run `npm install` from there first. If you want to use a version straight from npm, remove the lines in `webpack.config.js` at the bottom. | ||
3. Build with `webpack --watch` | ||
4. Open `index.html` | ||
|
||
- | ||
|
||
If you want to run the example from the npm published version of | ||
**redux-simple-router**, remove the alias in `webpack.config` | ||
If you want to run the example from the npm published version of | ||
**react-router-redux**, remove the alias in `webpack.config` | ||
to the source from line 21. | ||
|
||
This example uses the latest version, switch to a specific tag to use a stable version: | ||
|
||
e.g. [redux-simple-router tag 1.0.2](https://github.com/rackt/redux-simple-router/tree/1.0.2/examples/basic) | ||
|
||
e.g. [react-router-redux tag 1.0.2](https://github.com/rackt/react-router-redux/tree/1.0.2/examples/basic) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters