Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit fe88422

Browse files
committed
Derackting.
1 parent c4289a6 commit fe88422

File tree

5 files changed

+29
-29
lines changed

5 files changed

+29
-29
lines changed

CHANGELOG.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
## [HEAD](https://github.com/rackt/react-router-redux/compare/3.0.0...master)
1+
## [HEAD](https://github.com/reactjs/react-router-redux/compare/3.0.0...master)
22

33
- Nothing yet!
44

5-
## [3.0.0](https://github.com/rackt/react-router-redux/compare/2.1.0...3.0.0)
5+
## [3.0.0](https://github.com/reactjs/react-router-redux/compare/2.1.0...3.0.0)
66

77
Technically, 2.1.0 broke semver. The appropriate @timdorr's have been flogged. So, we're bumping the major version to catch up.
88

9-
- Fixed Resets in Redux Dev Tools. [3ae8110f](https://github.com/rackt/react-router-redux/commit/3ae8110f)
10-
- Ensure the initialState is set properly. [a00acfd4](https://github.com/rackt/react-router-redux/commit/a00acfd4)
11-
- Support any number of args on action creators [524898b5](https://github.com/rackt/react-router-redux/commit/524898b5)
9+
- Fixed Resets in Redux Dev Tools. [3ae8110f](https://github.com/reactjs/react-router-redux/commit/3ae8110f)
10+
- Ensure the initialState is set properly. [a00acfd4](https://github.com/reactjs/react-router-redux/commit/a00acfd4)
11+
- Support any number of args on action creators [524898b5](https://github.com/reactjs/react-router-redux/commit/524898b5)
1212

13-
## [2.1.0](https://github.com/rackt/react-router-redux/compare/2.0.4...2.1.0)
13+
## [2.1.0](https://github.com/reactjs/react-router-redux/compare/2.0.4...2.1.0)
1414

15-
- `listenForReplays` has a `selectLocationState` selector. [#218](https://github.com/rackt/react-router-redux/pull/218)
16-
- Provide unscoped action creators. [#225](https://github.com/rackt/react-router-redux/pull/225)
15+
- `listenForReplays` has a `selectLocationState` selector. [#218](https://github.com/reactjs/react-router-redux/pull/218)
16+
- Provide unscoped action creators. [#225](https://github.com/reactjs/react-router-redux/pull/225)
1717
- Example updated to use fully ES2015 syntax.
1818

19-
## [2.0.4](https://github.com/rackt/react-router-redux/compare/2.0.2...2.0.4)
19+
## [2.0.4](https://github.com/reactjs/react-router-redux/compare/2.0.2...2.0.4)
2020

21-
- Remove `history` module published within the tarball. [#133](https://github.com/rackt/react-router-redux/issues/133)
22-
- Make actions conform to [Flux Standard Action](https://github.com/acdlite/flux-standard-action). [#208](https://github.com/rackt/react-router-redux/pull/208)
21+
- Remove `history` module published within the tarball. [#133](https://github.com/reactjs/react-router-redux/issues/133)
22+
- Make actions conform to [Flux Standard Action](https://github.com/acdlite/flux-standard-action). [#208](https://github.com/reactjs/react-router-redux/pull/208)
2323

24-
## [2.0.2](https://github.com/rackt/react-router-redux/compare/1.0.2...2.0.2)
24+
## [2.0.2](https://github.com/reactjs/react-router-redux/compare/1.0.2...2.0.2)
2525

2626
Versions 2.0.0 and 2.0.1 were test releases for the 2.* series. 2.0.2 is the first public release.
2727

@@ -31,20 +31,20 @@ Versions 2.0.0 and 2.0.1 were test releases for the 2.* series. 2.0.2 is the fir
3131
* If you use redux devtools, you need to call `middleware.listenForReplays(store)` on the middleware returned from `syncHistory`. Create the store first with the middleware, then call this function with the store.
3232
* Action creators are now contained in a single object called `routeActions`. `go`, `goBack`, and `goForward` action creators have been added.
3333
* `UPDATE_PATH` is now `UPDATE_LOCATION`.
34-
* The fully parsed [location object](https://github.com/rackt/history/blob/master/docs/Location.md) is now stored in the state instead of a URL string. To access the path, use `state.routing.location.pathname` instead of `state.routing.path`.
34+
* The fully parsed [location object](https://github.com/reactjs/history/blob/master/docs/Location.md) is now stored in the state instead of a URL string. To access the path, use `state.routing.location.pathname` instead of `state.routing.path`.
3535

36-
[View the new docs](https://github.com/rackt/react-router-redux#api)
36+
[View the new docs](https://github.com/reactjs/react-router-redux#api)
3737

38-
## [1.0.2](https://github.com/rackt/react-router-redux/compare/1.0.1...1.0.2)
38+
## [1.0.2](https://github.com/reactjs/react-router-redux/compare/1.0.1...1.0.2)
3939

4040
* Only publish relevant files to npm
4141

42-
## [1.0.1](https://github.com/rackt/react-router-redux/compare/1.0.0...1.0.1)
42+
## [1.0.1](https://github.com/reactjs/react-router-redux/compare/1.0.0...1.0.1)
4343

4444
* Solve problem with `basename` causing infinite redirects (#103)
4545
* Switched to ES6 imports/exports internally, but should not affect outside users
4646

47-
## [1.0.0](https://github.com/rackt/react-router-redux/compare/0.0.10...1.0.0)
47+
## [1.0.0](https://github.com/reactjs/react-router-redux/compare/0.0.10...1.0.0)
4848
> 2015-12-09
4949
5050
This release changes quite a bit so you'll have to update your code.

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# react-router-redux
22

3-
[![npm version](https://img.shields.io/npm/v/react-router-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-router-redux) [![npm downloads](https://img.shields.io/npm/dm/react-router-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-router-redux) [![build status](https://img.shields.io/travis/rackt/react-router-redux/master.svg?style=flat-square)](https://travis-ci.org/rackt/react-router-redux)
3+
[![npm version](https://img.shields.io/npm/v/react-router-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-router-redux) [![npm downloads](https://img.shields.io/npm/dm/react-router-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-router-redux) [![build status](https://img.shields.io/travis/reactjs/react-router-redux/master.svg?style=flat-square)](https://travis-ci.org/reactjs/react-router-redux)
44

55
**Let react-router do all the work** :sparkles:
66

77
_Formerly known as redux-simple-router_
88

9-
[Redux](https://github.com/rackt/redux) is awesome. [React Router](https://github.com/rackt/react-router) is cool. The problem is that react-router manages an important piece of your application state: the URL. If you are using redux, you want your app state to fully represent your UI; if you snapshotted the app state, you should be able to load it up later and see the same thing.
9+
[Redux](https://github.com/rackt/redux) is awesome. [React Router](https://github.com/reactjs/react-router) is cool. The problem is that react-router manages an important piece of your application state: the URL. If you are using redux, you want your app state to fully represent your UI; if you snapshotted the app state, you should be able to load it up later and see the same thing.
1010

1111
react-router does a great job of mapping the current URL to a component tree, and continually does so with any URL changes. This is very useful, but we really want to store this state in redux as well.
1212

@@ -18,17 +18,17 @@ npm install react-router-redux
1818

1919
If you want to install the next major version, use `react-router-redux@next`. Run `npm dist-tag ls react-router-redux` to see what `next` is aliased to.
2020

21-
View the [CHANGELOG](https://github.com/rackt/react-router-redux/blob/master/CHANGELOG.md) for recent changes.
21+
View the [CHANGELOG](https://github.com/reactjs/react-router-redux/blob/master/CHANGELOG.md) for recent changes.
2222

2323
Read the [API docs](#api) farther down this page.
2424

25-
**Note:** We are [currently working on some major changes/improvements](https://github.com/rackt/react-router-redux/issues/259) to the library. [React Router's API in 2.0](https://github.com/rackt/react-router/blob/master/upgrade-guides/v2.0.0.md) is significantly improved and obseletes the need for things like action creators and reading location state from the Redux. This library is still critical to enable things like time traveling and persisting state, so we're not going anywhere. But in many cases, you may not need this library and can simply use the provided React Router APIs. Go check them out and drop some technical debt. :smile:
25+
**Note:** We are [currently working on some major changes/improvements](https://github.com/reactjs/react-router-redux/issues/259) to the library. [React Router's API in 2.0](https://github.com/reactjs/react-router/blob/master/upgrade-guides/v2.0.0.md) is significantly improved and obseletes the need for things like action creators and reading location state from the Redux. This library is still critical to enable things like time traveling and persisting state, so we're not going anywhere. But in many cases, you may not need this library and can simply use the provided React Router APIs. Go check them out and drop some technical debt. :smile:
2626

2727
### Usage
2828

2929
The idea of this library is to use react-router's functionality exactly like its documentation tells you to. You can access all of its APIs in routing components. Additionally, you can use redux like you normally would, with a single app state.
3030

31-
[redux](https://github.com/rackt/redux) (`store.routing`)  ↔  [**react-router-redux**](https://github.com/rackt/react-router-redux)  ↔  [history](https://github.com/rackt/history) (`history.location`)  ↔  [react-router](https://github.com/rackt/react-router)
31+
[redux](https://github.com/rackt/redux) (`store.routing`)  ↔  [**react-router-redux**](https://github.com/reactjs/react-router-redux)  ↔  [history](https://github.com/reactjs/history) (`history.location`)  ↔  [react-router](https://github.com/reactjs/react-router)
3232

3333
We only store current URL and state, whereas redux-router stores the entire location object from react-router. You can read it, and also change it with an action.
3434

@@ -97,7 +97,7 @@ function update(state, action) {
9797
```
9898
**But how do I access router props in a Container component?**
9999

100-
react-router [injects route information via a child component's props](https://github.com/rackt/react-router/blob/latest/docs/Introduction.md#getting-url-parameters). This makes accessing them from a simple component easy. When using a react-redux Container to connect simple components to the store state and dispatch you can access these injected route information from the [2nd argument of `mapStateToProps`](https://github.com/rackt/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) as follows:
100+
react-router [injects route information via a child component's props](https://github.com/reactjs/react-router/blob/latest/docs/Introduction.md#getting-url-parameters). This makes accessing them from a simple component easy. When using a react-redux Container to connect simple components to the store state and dispatch you can access these injected route information from the [2nd argument of `mapStateToProps`](https://github.com/rackt/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) as follows:
101101

102102
```js
103103
function mapStateToProps(state, ownProps) {
@@ -111,7 +111,7 @@ function mapStateToProps(state, ownProps) {
111111

112112
### Examples
113113

114-
* [examples/basic](https://github.com/rackt/react-router-redux/blob/master/examples/basic) - basic reference implementation
114+
* [examples/basic](https://github.com/reactjs/react-router-redux/blob/master/examples/basic) - basic reference implementation
115115

116116
Examples from the community:
117117

@@ -166,4 +166,4 @@ An object that contains all the actions creators you can use to manipulate histo
166166
* `goForward()`
167167
* `goBack()`
168168

169-
A [location descriptor](https://github.com/rackt/history/blob/master/docs/Glossary.md#locationdescriptor) can be a descriptive object (see the link) or a normal URL string. The most common action is to push a new URL via `routeActions.push(...)`. These all directly call the analogous [history methods](https://github.com/rackt/history/blob/master/docs/GettingStarted.md#navigation).
169+
A [location descriptor](https://github.com/reactjs/history/blob/master/docs/Glossary.md#locationdescriptor) can be a descriptive object (see the link) or a normal URL string. The most common action is to push a new URL via `routeActions.push(...)`. These all directly call the analogous [history methods](https://github.com/reactjs/history/blob/master/docs/GettingStarted.md#navigation).

examples/basic/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ This example also demonstrates integration with
1919
-
2020

2121
If you want to run the example from the npm published version of
22-
**react-router-redux**, remove the alias in `webpack.config`
22+
**react-router-redux**, remove the alias in `webpack.config`
2323
to the source from line 21.
2424

2525
This example uses the latest version, switch to a specific tag to use a stable version:
2626

27-
e.g. [react-router-redux tag 1.0.2](https://github.com/rackt/react-router-redux/tree/1.0.2/examples/basic)
27+
e.g. [react-router-redux tag 1.0.2](https://github.com/reactjs/react-router-redux/tree/1.0.2/examples/basic)

examples/basic/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "rrr-basic-example",
33
"version": "0.0.0",
4-
"repository": "rackt/react-router-redux",
4+
"repository": "reactjs/react-router-redux",
55
"license": "MIT",
66
"dependencies": {
77
"history": "^1.14.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lib",
1010
"src"
1111
],
12-
"repository": "rackt/react-router-redux",
12+
"repository": "reactjs/react-router-redux",
1313
"authors": [
1414
"James Long",
1515
"Tim Dorr"

0 commit comments

Comments
 (0)