Skip to content

Commit 2fece9c

Browse files
committed
reactjs -> reduxjs (#949)
1 parent 11bc296 commit 2fece9c

File tree

8 files changed

+36
-41
lines changed

8 files changed

+36
-41
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
All notable changes are described on the [Releases](https://github.com/reactjs/react-redux/releases) page.
1+
All notable changes are described on the [Releases](https://github.com/reduxjs/react-redux/releases) page.

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Contributing
2-
We are open to, and grateful for, any contributions made by the community. By contributing to React Redux, you agree to abide by the [code of conduct](https://github.com/reactjs/react-redux/blob/master/CODE_OF_CONDUCT.md).
2+
We are open to, and grateful for, any contributions made by the community. By contributing to React Redux, you agree to abide by the [code of conduct](https://github.com/reduxjs/react-redux/blob/master/CODE_OF_CONDUCT.md).
33

44
## Reporting Issues and Asking Questions
5-
Before opening an issue, please search the [issue tracker](https://github.com/reactjs/react-redux/issues) to make sure your issue hasn't already been reported.
5+
Before opening an issue, please search the [issue tracker](https://github.com/reduxjs/react-redux/issues) to make sure your issue hasn't already been reported.
66

77
Please ask any general and implementation specific questions on [Stack Overflow with a Redux tag](http://stackoverflow.com/questions/tagged/redux?sort=votes&pageSize=50) for support.
88

99
## Development
1010

11-
Visit the [Issue tracker](https://github.com/reactjs/react-redux/issues) to find a list of open issues that need attention.
11+
Visit the [Issue tracker](https://github.com/reduxjs/react-redux/issues) to find a list of open issues that need attention.
1212

1313
Fork, then clone the repo:
1414
```
@@ -56,7 +56,7 @@ Please open an issue with a proposal for a new feature or refactoring before sta
5656

5757
## Submitting Changes
5858

59-
* Open a new issue in the [Issue tracker](https://github.com/reactjs/react-redux/issues).
59+
* Open a new issue in the [Issue tracker](https://github.com/reduxjs/react-redux/issues).
6060
* Fork the repo.
6161
* Create a new feature branch based off the `master` branch.
6262
* Make sure all tests pass and there are no linting errors.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
React Redux
22
=========================
33

4-
Official React bindings for [Redux](https://github.com/reactjs/redux).
4+
Official React bindings for [Redux](https://github.com/reduxjs/redux).
55
Performant and flexible.
66

7-
[![build status](https://img.shields.io/travis/reactjs/react-redux/master.svg?style=flat-square)](https://travis-ci.org/reactjs/react-redux) [![npm version](https://img.shields.io/npm/v/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
7+
[![build status](https://img.shields.io/travis/reduxjs/react-redux/master.svg?style=flat-square)](https://travis-ci.org/reduxjs/react-redux) [![npm version](https://img.shields.io/npm/v/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
88
[![npm downloads](https://img.shields.io/npm/dm/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
99
[![redux channel on slack](https://img.shields.io/badge/[email protected]?style=flat-square)](http://www.reactiflux.com)
1010

@@ -25,7 +25,7 @@ If you don’t yet use [npm](http://npmjs.com/) or a modern module bundler, and
2525

2626
As of React Native 0.18, React Redux 5.x should work with React Native. If you have any issues with React Redux 5.x on React Native, run `npm ls react` and make sure you don’t have a duplicate React installation in your `node_modules`. We recommend that you use `[email protected]` which is better at avoiding these kinds of issues.
2727

28-
If you are on an older version of React Native, you’ll need to keep using [React Redux 3.x branch and documentation](https://github.com/reactjs/react-redux/tree/v3.1.0) because of [this problem](https://github.com/facebook/react-native/issues/2985).
28+
If you are on an older version of React Native, you’ll need to keep using [React Redux 3.x branch and documentation](https://github.com/reduxjs/react-redux/tree/v3.1.0) because of [this problem](https://github.com/facebook/react-native/issues/2985).
2929

3030
## Documentation
3131

docs/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ It does not modify the component class passed to it; instead, it *returns* a new
5656

5757
If your `mapStateToProps` function is declared as taking two parameters, it will be called with the store state as the first parameter and the props passed to the connected component as the second parameter, and will also be re-invoked whenever the connected component receives new props as determined by shallow equality comparisons. (The second parameter is normally referred to as `ownProps` by convention.)
5858

59-
>Note: in advanced scenarios where you need more control over the rendering performance, `mapStateToProps()` can also return a function. In this case, *that* function will be used as `mapStateToProps()` for a particular component instance. This allows you to do per-instance memoization. You can refer to [#279](https://github.com/reactjs/react-redux/pull/279) and the tests it adds for more details. Most apps never need this.
59+
>Note: in advanced scenarios where you need more control over the rendering performance, `mapStateToProps()` can also return a function. In this case, *that* function will be used as `mapStateToProps()` for a particular component instance. This allows you to do per-instance memoization. You can refer to [#279](https://github.com/reduxjs/react-redux/pull/279) and the tests it adds for more details. Most apps never need this.
6060
61-
>The `mapStateToProps` function's first argument is the entire Redux store’s state and it returns an object to be passed as props. It is often called a **selector**. Use [reselect](https://github.com/reactjs/reselect) to efficiently compose selectors and [compute derived data](https://redux.js.org/recipes/computing-derived-data).
61+
>The `mapStateToProps` function's first argument is the entire Redux store’s state and it returns an object to be passed as props. It is often called a **selector**. Use [reselect](https://github.com/reduxjs/reselect) to efficiently compose selectors and [compute derived data](https://redux.js.org/recipes/computing-derived-data).
6262
6363
* [`mapDispatchToProps(dispatch, [ownProps]): dispatchProps`] \(*Object* or *Function*): If an object is passed, each function inside it is assumed to be a Redux action creator. An object with the same function names, but with every action creator wrapped into a `dispatch` call so they may be invoked directly, will be merged into the component’s props.
6464

@@ -68,7 +68,7 @@ It does not modify the component class passed to it; instead, it *returns* a new
6868

6969
If you do not supply your own `mapDispatchToProps` function or object full of action creators, the default `mapDispatchToProps` implementation just injects `dispatch` into your component’s props.
7070

71-
>Note: in advanced scenarios where you need more control over the rendering performance, `mapDispatchToProps()` can also return a function. In this case, *that* function will be used as `mapDispatchToProps()` for a particular component instance. This allows you to do per-instance memoization. You can refer to [#279](https://github.com/reactjs/react-redux/pull/279) and the tests it adds for more details. Most apps never need this.
71+
>Note: in advanced scenarios where you need more control over the rendering performance, `mapDispatchToProps()` can also return a function. In this case, *that* function will be used as `mapDispatchToProps()` for a particular component instance. This allows you to do per-instance memoization. You can refer to [#279](https://github.com/reduxjs/react-redux/pull/279) and the tests it adds for more details. Most apps never need this.
7272
7373
* [`mergeProps(stateProps, dispatchProps, ownProps): props`] \(*Function*): If specified, it is passed the result of `mapStateToProps()`, `mapDispatchToProps()`, and the parent `props`. The plain object you return from it will be passed as props to the wrapped component. You may specify this function to select a slice of the state based on props, or to bind action creators to a particular variable from props. If you omit it, `Object.assign({}, ownProps, stateProps, dispatchProps)` is used by default.
7474

docs/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ In short,
1717

1818
### My views aren’t updating on route change with React Router 0.13
1919

20-
If you’re using React Router 0.13, you might [bump into this problem](https://github.com/reactjs/react-redux/issues/43). The solution is simple: whenever you use `<RouteHandler>` or the `Handler` provided by `Router.run`, pass the router state to it.
20+
If you’re using React Router 0.13, you might [bump into this problem](https://github.com/reduxjs/react-redux/issues/43). The solution is simple: whenever you use `<RouteHandler>` or the `Handler` provided by `Router.run`, pass the router state to it.
2121

2222
Root view:
2323

package.json

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,30 @@
22
"name": "react-redux",
33
"version": "5.0.7",
44
"description": "Official React bindings for Redux",
5+
"keywords": [
6+
"react",
7+
"reactjs",
8+
"hot",
9+
"reload",
10+
"hmr",
11+
"live",
12+
"edit",
13+
"flux",
14+
"redux"
15+
],
16+
"license": "MIT",
17+
"author": "Dan Abramov <[email protected]> (https://github.com/gaearon)",
18+
"homepage": "https://github.com/reduxjs/react-redux",
19+
"repository": "github:reduxjs/react-redux",
20+
"bugs": "https://github.com/reduxjs/react-redux/issues",
521
"main": "./lib/index.js",
622
"module": "es/index.js",
23+
"files": [
24+
"dist",
25+
"lib",
26+
"src",
27+
"es"
28+
],
729
"scripts": {
830
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
931
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
@@ -16,33 +38,6 @@
1638
"test": "jest",
1739
"coverage": "codecov"
1840
},
19-
"repository": {
20-
"type": "git",
21-
"url": "https://github.com/reactjs/react-redux.git"
22-
},
23-
"files": [
24-
"dist",
25-
"lib",
26-
"src",
27-
"es"
28-
],
29-
"keywords": [
30-
"react",
31-
"reactjs",
32-
"hot",
33-
"reload",
34-
"hmr",
35-
"live",
36-
"edit",
37-
"flux",
38-
"redux"
39-
],
40-
"author": "Dan Abramov <[email protected]> (https://github.com/gaearon)",
41-
"license": "MIT",
42-
"bugs": {
43-
"url": "https://github.com/reactjs/react-redux/issues"
44-
},
45-
"homepage": "https://github.com/reactjs/react-redux",
4641
"peerDependencies": {
4742
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0",
4843
"redux": "^2.0.0 || ^3.0.0 || ^4.0.0-0"

src/components/Provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function warnAboutReceivingStore() {
1414
'<Provider> does not support changing `store` on the fly. ' +
1515
'It is most likely that you see this error because you updated to ' +
1616
'Redux 2.x and React Redux 2.x which no longer hot reload reducers ' +
17-
'automatically. See https://github.com/reactjs/react-redux/releases/' +
17+
'automatically. See https://github.com/reduxjs/react-redux/releases/' +
1818
'tag/v2.0.0 for the migration instructions.'
1919
)
2020
}

test/components/Provider.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ describe('React', () => {
123123
'<Provider> does not support changing `store` on the fly. ' +
124124
'It is most likely that you see this error because you updated to ' +
125125
'Redux 2.x and React Redux 2.x which no longer hot reload reducers ' +
126-
'automatically. See https://github.com/reactjs/react-redux/releases/' +
126+
'automatically. See https://github.com/reduxjs/react-redux/releases/' +
127127
'tag/v2.0.0 for the migration instructions.'
128128
)
129129

0 commit comments

Comments
 (0)