Skip to content

Commit 24d9c4d

Browse files
committedFeb 12, 2016
rackt -> reactjs (see reduxjs#1392)
1 parent 0fc8267 commit 24d9c4d

25 files changed

+110
-110
lines changed
 

‎CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Change Log
22

33
This project adheres to [Semantic Versioning](http://semver.org/).
4-
Every release, along with the migration instructions, is documented on the Github [Releases](https://github.com/rackt/redux/releases) page.
4+
Every release, along with the migration instructions, is documented on the Github [Releases](https://github.com/reactjs/redux/releases) page.

‎CONTRIBUTING.md

+8-8
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 Redux, you agree to abide by the [code of conduct](https://github.com/rackt/redux/blob/master/CODE_OF_CONDUCT.md).
2+
We are open to, and grateful for, any contributions made by the community. By contributing to Redux, you agree to abide by the [code of conduct](https://github.com/reactjs/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/rackt/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/reactjs/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/rackt/redux/issues) to find a list of open issues that need attention.
11+
Visit the [Issue tracker](https://github.com/reactjs/redux/issues) to find a list of open issues that need attention.
1212

1313
Fork, then clone the repo:
1414
```
@@ -90,9 +90,9 @@ npm run docs:clean
9090
```
9191

9292
### Examples
93-
Redux comes with [official examples](http://rackt.github.io/redux/docs/introduction/Examples.html) to demonstrate various concepts and best practices.
93+
Redux comes with [official examples](http://redux.js.org/docs/introduction/Examples.html) to demonstrate various concepts and best practices.
9494

95-
When adding a new example, please adhere to the style and format of the existing examples, and try to reuse as much code as possible. For example, `index.html`, `server.js`, and `webpack.config.js` can typically be reused.
95+
When adding a new example, please adhere to the style and format of the existing examples, and try to reuse as much code as possible. For example, `index.html`, `server.js`, and `webpack.config.js` can typically be reused.
9696

9797
>For ease of development, the webpack configs for the examples are set up so that the `redux` module is aliased to the project `src` folder when inside of the Redux folder. If an example is moved out of the Redux folder, they will instead use the version of Redux from `node_modules`.
9898
@@ -103,16 +103,16 @@ npm run build:examples
103103
npm run test:examples
104104
```
105105

106-
Please visit the [Examples page](http://rackt.github.io/redux/docs/introduction/Examples.html) for information on running an individual example.
106+
Please visit the [Examples page](http://redux.js.org/docs/introduction/Examples.html) for information on running an individual example.
107107

108108
###New Features
109109
Please open an issue with a proposal for a new feature or refactoring before starting on the work. We don't want you to waste your efforts on a pull request that we won't want to accept.
110110

111111
###Style
112-
[rackt](https://github.com/rackt) is trying to keep a standard style across its various projects, which can be found over in [eslint-config-rackt](https://github.com/rackt/eslint-config-rackt). If you have a style change proposal, it should first be proposed there. If accepted, we will be happy to accept a PR to implement it here.
112+
The [reactjs](https://github.com/reactjs) GitHub org is trying to keep a standard style across its various projects, which can be found over in [eslint-config-reactjs](https://github.com/reactjs/eslint-config-reactjs). If you have a style change proposal, it should first be proposed there. If accepted, we will be happy to accept a PR to implement it here.
113113

114114
## Submitting Changes
115-
* Open a new issue in the [Issue tracker](https://github.com/rackt/redux/issues).
115+
* Open a new issue in the [Issue tracker](https://github.com/reactjs/redux/issues).
116116
* Fork the repo.
117117
* Create a new feature branch based off the `master` branch.
118118
* Make sure all tests pass and there are no linting errors.

‎README.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Redux](http://rackt.github.io/redux)
1+
# [Redux](http://redux.js.org)
22

33
Redux is a predictable state container for JavaScript apps.
44

@@ -7,7 +7,7 @@ It helps you write applications that behave consistently, run in different envir
77
You can use Redux together with [React](https://facebook.github.io/react/), or with any other view library.
88
It is tiny (2kB, including dependencies).
99

10-
[![build status](https://img.shields.io/travis/rackt/redux/master.svg?style=flat-square)](https://travis-ci.org/rackt/redux)
10+
[![build status](https://img.shields.io/travis/reactjs/redux/master.svg?style=flat-square)](https://travis-ci.org/reactjs/redux)
1111
[![npm version](https://img.shields.io/npm/v/redux.svg?style=flat-square)](https://www.npmjs.com/package/redux)
1212
[![npm downloads](https://img.shields.io/npm/dm/redux.svg?style=flat-square)](https://www.npmjs.com/package/redux)
1313
[![redux channel on discord](https://img.shields.io/badge/discord-%23redux%20%40%20reactiflux-61dafb.svg?style=flat-square)](https://discord.gg/0ZcbPKXt5bZ6au5t)
@@ -45,7 +45,7 @@ To install the stable version:
4545
npm install --save redux
4646
```
4747

48-
Most likely, you’ll also need [the React bindings](https://github.com/rackt/react-redux) and [the developer tools](https://github.com/gaearon/redux-devtools).
48+
Most likely, you’ll also need [the React bindings](https://github.com/reactjs/react-redux) and [the developer tools](https://github.com/gaearon/redux-devtools).
4949

5050
```
5151
npm install --save react-redux
@@ -141,28 +141,28 @@ If you enjoyed my course, consider supporting Egghead by [buying a subscription]
141141

142142
### Documentation
143143

144-
* [Introduction](http://rackt.github.io/redux/docs/introduction/index.html)
145-
* [Basics](http://rackt.github.io/redux/docs/basics/index.html)
146-
* [Advanced](http://rackt.github.io/redux/docs/advanced/index.html)
147-
* [Recipes](http://rackt.github.io/redux/docs/recipes/index.html)
148-
* [Troubleshooting](http://rackt.github.io/redux/docs/Troubleshooting.html)
149-
* [Glossary](http://rackt.github.io/redux/docs/Glossary.html)
150-
* [API Reference](http://rackt.github.io/redux/docs/api/index.html)
144+
* [Introduction](http://redux.js.org/docs/introduction/index.html)
145+
* [Basics](http://redux.js.org/docs/basics/index.html)
146+
* [Advanced](http://redux.js.org/docs/advanced/index.html)
147+
* [Recipes](http://redux.js.org/docs/recipes/index.html)
148+
* [Troubleshooting](http://redux.js.org/docs/Troubleshooting.html)
149+
* [Glossary](http://redux.js.org/docs/Glossary.html)
150+
* [API Reference](http://redux.js.org/docs/api/index.html)
151151

152152
For PDF, ePub, and MOBI exports for offline reading, and instructions on how to create them, please see: [paulkogel/redux-offline-docs](https://github.com/paulkogel/redux-offline-docs).
153153

154154
### Examples
155155

156-
* [Counter Vanilla](http://rackt.github.io/redux/docs/introduction/Examples.html#counter-vanilla) ([source](https://github.com/rackt/redux/tree/master/examples/counter-vanilla))
157-
* [Counter](http://rackt.github.io/redux/docs/introduction/Examples.html#counter) ([source](https://github.com/rackt/redux/tree/master/examples/counter))
158-
* [Todos](http://rackt.github.io/redux/docs/introduction/Examples.html#todos) ([source](https://github.com/rackt/redux/tree/master/examples/todos))
159-
* [Todos with Undo](http://rackt.github.io/redux/docs/introduction/Examples.html#todos-with-undo) ([source](https://github.com/rackt/redux/tree/master/examples/todos-with-undo))
160-
* [TodoMVC](http://rackt.github.io/redux/docs/introduction/Examples.html#todomvc) ([source](https://github.com/rackt/redux/tree/master/examples/todomvc))
161-
* [Shopping Cart](http://rackt.github.io/redux/docs/introduction/Examples.html#shopping-cart) ([source](https://github.com/rackt/redux/tree/master/examples/shopping-cart))
162-
* [Tree View](http://rackt.github.io/redux/docs/introduction/Examples.html#tree-view) ([source](https://github.com/rackt/redux/tree/master/examples/tree-view))
163-
* [Async](http://rackt.github.io/redux/docs/introduction/Examples.html#async) ([source](https://github.com/rackt/redux/tree/master/examples/async))
164-
* [Universal](http://rackt.github.io/redux/docs/introduction/Examples.html#universal) ([source](https://github.com/rackt/redux/tree/master/examples/universal))
165-
* [Real World](http://rackt.github.io/redux/docs/introduction/Examples.html#real-world) ([source](https://github.com/rackt/redux/tree/master/examples/real-world))
156+
* [Counter Vanilla](http://redux.js.org/docs/introduction/Examples.html#counter-vanilla) ([source](https://github.com/reactjs/redux/tree/master/examples/counter-vanilla))
157+
* [Counter](http://redux.js.org/docs/introduction/Examples.html#counter) ([source](https://github.com/reactjs/redux/tree/master/examples/counter))
158+
* [Todos](http://redux.js.org/docs/introduction/Examples.html#todos) ([source](https://github.com/reactjs/redux/tree/master/examples/todos))
159+
* [Todos with Undo](http://redux.js.org/docs/introduction/Examples.html#todos-with-undo) ([source](https://github.com/reactjs/redux/tree/master/examples/todos-with-undo))
160+
* [TodoMVC](http://redux.js.org/docs/introduction/Examples.html#todomvc) ([source](https://github.com/reactjs/redux/tree/master/examples/todomvc))
161+
* [Shopping Cart](http://redux.js.org/docs/introduction/Examples.html#shopping-cart) ([source](https://github.com/reactjs/redux/tree/master/examples/shopping-cart))
162+
* [Tree View](http://redux.js.org/docs/introduction/Examples.html#tree-view) ([source](https://github.com/reactjs/redux/tree/master/examples/tree-view))
163+
* [Async](http://redux.js.org/docs/introduction/Examples.html#async) ([source](https://github.com/reactjs/redux/tree/master/examples/async))
164+
* [Universal](http://redux.js.org/docs/introduction/Examples.html#universal) ([source](https://github.com/reactjs/redux/tree/master/examples/universal))
165+
* [Real World](http://redux.js.org/docs/introduction/Examples.html#real-world) ([source](https://github.com/reactjs/redux/tree/master/examples/real-world))
166166

167167
If you’re new to the NPM ecosystem and have troubles getting a project up and running, or aren’t sure where to paste the gist above, check out [simplest-redux-example](https://github.com/jackielii/simplest-redux-example) that uses Redux together with React and Browserify.
168168

@@ -188,7 +188,7 @@ Special thanks to [Jamie Paton](http://jdpaton.github.io) for handing over the `
188188
### Change Log
189189

190190
This project adheres to [Semantic Versioning](http://semver.org/).
191-
Every release, along with the migration instructions, is documented on the Github [Releases](https://github.com/rackt/redux/releases) page.
191+
Every release, along with the migration instructions, is documented on the Github [Releases](https://github.com/reactjs/redux/releases) page.
192192

193193
### Patrons
194194

‎docs/Troubleshooting.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,5 @@ You can then pass `dispatch` down to other components manually, if you want to.
193193

194194
## Something else doesn’t work
195195

196-
Ask around on the **#redux** [Reactiflux](http://reactiflux.com/) Discord channel, or [create an issue](https://github.com/rackt/redux/issues).
197-
If you figure it out, [edit this document](https://github.com/rackt/redux/edit/master/docs/Troubleshooting.md) as a courtesy to the next person having the same problem.
196+
Ask around on the **#redux** [Reactiflux](http://reactiflux.com/) Discord channel, or [create an issue](https://github.com/reactjs/redux/issues).
197+
If you figure it out, [edit this document](https://github.com/reactjs/redux/edit/master/docs/Troubleshooting.md) as a courtesy to the next person having the same problem.

‎docs/api/Store.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ You may call [`dispatch()`](#dispatch) from a change listener, with the followin
8888

8989
2. The listener should not expect to see all states changes, as the state might have been updated multiple times during a nested [`dispatch()`](#dispatch) before the listener is called. It is, however, guaranteed that all subscribers registered before the [`dispatch()`](#dispatch) started will be called with the latest state by the time it exits.
9090

91-
It is a low-level API. Most likely, instead of using it directly, you’ll use React (or other) bindings. If you feel that the callback needs to be invoked with the current state, you might want to [convert the store to an Observable or write a custom `observeStore` utility instead](https://github.com/rackt/redux/issues/303#issuecomment-125184409).
91+
It is a low-level API. Most likely, instead of using it directly, you’ll use React (or other) bindings. If you feel that the callback needs to be invoked with the current state, you might want to [convert the store to an Observable or write a custom `observeStore` utility instead](https://github.com/reactjs/redux/issues/303#issuecomment-125184409).
9292

9393
To unsubscribe the change listener, invoke the function returned by `subscribe`.
9494

‎docs/basics/Reducers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ function reducer(state, action) {
345345
}
346346
```
347347

348-
All [`combineReducers()`](../api/combineReducers.md) does is generate a function that calls your reducers **with the slices of state selected according to their keys**, and combining their results into a single object again. [It’s not magic.](https://github.com/rackt/redux/issues/428#issuecomment-129223274)
348+
All [`combineReducers()`](../api/combineReducers.md) does is generate a function that calls your reducers **with the slices of state selected according to their keys**, and combining their results into a single object again. [It’s not magic.](https://github.com/reactjs/redux/issues/428#issuecomment-129223274)
349349

350350
>##### Note for ES6 Savvy Users
351351
@@ -358,7 +358,7 @@ All [`combineReducers()`](../api/combineReducers.md) does is generate a function
358358
>const todoApp = combineReducers(reducers)
359359
>```
360360
>
361-
>Because `import *` is still new syntax, we don’t use it anymore in the documentation to avoid [confusion](https://github.com/rackt/redux/issues/428#issuecomment-129223274), but you may encounter it in some community examples.
361+
>Because `import *` is still new syntax, we don’t use it anymore in the documentation to avoid [confusion](https://github.com/reactjs/redux/issues/428#issuecomment-129223274), but you may encounter it in some community examples.
362362
363363
## Source Code
364364

‎docs/basics/UsageWithReact.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Finished reading the article? Let’s recount their differences:
6161

6262
Most of the components we’ll write will be presentational, but we’ll need to generate a few container components to connect them to the Redux store.
6363

64-
Technically you could write the container components by hand using [`store.subscribe()`](../api/Store.md#subscribe). We don’t advise you to do this because React Redux makes many performance optimizations that are hard to do by hand. For this reason, rather than write container components, we will generate them using the [`connect()`](https://github.com/rackt/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) function provided by React Redux, as you will see below.
64+
Technically you could write the container components by hand using [`store.subscribe()`](../api/Store.md#subscribe). We don’t advise you to do this because React Redux makes many performance optimizations that are hard to do by hand. For this reason, rather than write container components, we will generate them using the [`connect()`](https://github.com/reactjs/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) function provided by React Redux, as you will see below.
6565

6666
## Designing Component Hierarchy
6767

@@ -245,7 +245,7 @@ export default App
245245

246246
### Container Components
247247

248-
Now it’s time to hook up those presentational components to Redux by creating some containers. Technically, a container component is just a React component that uses [`store.subscribe()`](../api/Store.md#subscribe) to read a part of the Redux state tree and supply props to a presentational component it renders. You could write a container component by hand but React Redux includes many useful optimizations so we suggest to generate container components with [`connect()`](https://github.com/rackt/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) function from the React Redux library.
248+
Now it’s time to hook up those presentational components to Redux by creating some containers. Technically, a container component is just a React component that uses [`store.subscribe()`](../api/Store.md#subscribe) to read a part of the Redux state tree and supply props to a presentational component it renders. You could write a container component by hand but React Redux includes many useful optimizations so we suggest to generate container components with [`connect()`](https://github.com/reactjs/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) function from the React Redux library.
249249

250250
To use `connect()`, you need to define a special function called `mapStateToProps` that tells how to transform the current Redux store state into the props you want to pass to a presentational component you are wrapping. For example, `VisibleTodoList` needs to calculate `todos` to pass to the `TodoList`, so we define a function that filters the `state.todos` according to the `state.visibilityFilter`, and use it in its `mapStateToProps`:
251251

@@ -293,7 +293,7 @@ const VisibleTodoList = connect(
293293
export default VisibleTodoList
294294
```
295295

296-
These are the basics of the React Redux API, but there are a few shortcuts and power options so we encourage you to check out [its documentation](https://github.com/rackt/react-redux) in detail. In case you are worried about `mapStateToProps` creating new objects too often, you might want to learn about [computing derived data](../recipes/ComputingDerivedData.md) with [reselect](https://github.com/rackt/reselect).
296+
These are the basics of the React Redux API, but there are a few shortcuts and power options so we encourage you to check out [its documentation](https://github.com/reactjs/react-redux) in detail. In case you are worried about `mapStateToProps` creating new objects too often, you might want to learn about [computing derived data](../recipes/ComputingDerivedData.md) with [reselect](https://github.com/rackt/reselect).
297297

298298
Find the rest of the container components defined below:
299299

@@ -401,7 +401,7 @@ export default AddTodo
401401

402402
All container components need access to the Redux store so they can subscribe to it. One option would be to pass it as a prop to every container component. However it gets tedious, as you have to wire `store` even through presentational components just because they happen to render a container deep in the component tree.
403403

404-
The option we recommend is to use a special React Redux component called [`<Provider>`](https://github.com/rackt/react-redux/blob/master/docs/api.md#provider-store) to [magically](https://facebook.github.io/react/docs/context.html) make the store available to all container components in the application without passing it explicitly. You only need to use it once when you render the root component:
404+
The option we recommend is to use a special React Redux component called [`<Provider>`](https://github.com/reactjs/react-redux/blob/master/docs/api.md#provider-store) to [magically](https://facebook.github.io/react/docs/context.html) make the store available to all container components in the application without passing it explicitly. You only need to use it once when you render the root component:
405405

406406
#### `index.js`
407407

‎docs/introduction/Ecosystem.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ On this page we will only feature a few of them that the Redux maintainers have
5959

6060
### Routing
6161

62-
* [react-router-redux](https://github.com/rackt/react-router-redux) — Ruthlessly simple bindings to keep React Router and Redux in sync
62+
* [react-router-redux](https://github.com/reactjs/react-router-redux) — Ruthlessly simple bindings to keep React Router and Redux in sync
6363
* [redux-router](https://github.com/acdlite/redux-router) — Redux bindings for React Router
6464

6565
### Components

0 commit comments

Comments
 (0)
Please sign in to comment.