Skip to content

Commit

Permalink
Prepare for move to reduxjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ellbee committed Apr 23, 2018
1 parent 978bd89 commit 1057c58
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 37 deletions.
38 changes: 19 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [v3.0.0](https://github.com/reactjs/reselect/releases/tag/v3.0.0) - 2017/03/24
## [v3.0.0](https://github.com/reduxjs/reselect/releases/tag/v3.0.0) - 2017/03/24

### New Features

Expand Down Expand Up @@ -72,79 +72,79 @@ calling..
7
```

## [v2.5.4](https://github.com/reactjs/reselect/releases/tag/v2.5.4) - 2016/09/17
## [v2.5.4](https://github.com/reduxjs/reselect/releases/tag/v2.5.4) - 2016/09/17

### Bug Fixes

Improve performance of `defaultMemoize` when using custom equality check. (#170)

## [v2.5.3](https://github.com/reactjs/reselect/releases/tag/v2.5.3) - 2016/07/04
## [v2.5.3](https://github.com/reduxjs/reselect/releases/tag/v2.5.3) - 2016/07/04

### Bug Fixes

Reverts a Typescript change that was a breaking change. It will be reinstated in a major release. (#145)

## [v2.5.2](https://github.com/reactjs/reselect/releases/tag/v2.5.2) - 2016/07/03
## [v2.5.2](https://github.com/reduxjs/reselect/releases/tag/v2.5.2) - 2016/07/03

### Bug Fixes

When a selector uses defaultMemoize, if an exception is thrown for a set of arguments then the selector should also throw when called again with those arguments. (#144)

## [v2.5.1](https://github.com/reactjs/reselect/releases/tag/v2.5.1) - 2016/04/21
## [v2.5.1](https://github.com/reduxjs/reselect/releases/tag/v2.5.1) - 2016/04/21

### Bug Fixes

Include es directory in package.json (#117)

## [v2.5.0](https://github.com/reactjs/reselect/releases/tag/v2.5.0) - 2016/04/21
## [v2.5.0](https://github.com/reduxjs/reselect/releases/tag/v2.5.0) - 2016/04/21

### New features

Add jsnext build (#116)

## [v2.4.0](https://github.com/reactjs/reselect/releases/tag/v2.4.0) - 2016/04/16
## [v2.4.0](https://github.com/reduxjs/reselect/releases/tag/v2.4.0) - 2016/04/16

### New features

Add umd build (#112)

## [v2.3.0](https://github.com/reactjs/reselect/releases/tag/v2.3.0) - 2016/04/07
## [v2.3.0](https://github.com/reduxjs/reselect/releases/tag/v2.3.0) - 2016/04/07

### New features

Add `resultFunc` property to selectors (#92)

## [v2.2.0](https://github.com/reactjs/reselect/releases/tag/v2.2.0) - 2016/03/15
## [v2.2.0](https://github.com/reduxjs/reselect/releases/tag/v2.2.0) - 2016/03/15

### New features

Add Typescript typings to package.json (#94)

## [v2.1.0](https://github.com/reactjs/reselect/releases/tag/v2.1.0) - 2016/03/03
## [v2.1.0](https://github.com/reduxjs/reselect/releases/tag/v2.1.0) - 2016/03/03

### New features

Add `resetRecomputations` method to selectors (#90)

## [v2.0.3](https://github.com/reactjs/reselect/releases/tag/v2.0.3) - 2016/02/01
## [v2.0.3](https://github.com/reduxjs/reselect/releases/tag/v2.0.3) - 2016/02/01

### New features

Fix bug (#78) in `defaultMemoize` which could cause the memoized value to be mistakenly returned for variadic functions.

## [v2.0.2](https://github.com/reactjs/reselect/releases/tag/v2.0.2) - 2016/01/14
## [v2.0.2](https://github.com/reduxjs/reselect/releases/tag/v2.0.2) - 2016/01/14

### New features

Fix IE8 support by compiling in 'loose' mode

## [v2.0.1](https://github.com/reactjs/reselect/releases/tag/v2.0.1) - 2015/11/08
## [v2.0.1](https://github.com/reduxjs/reselect/releases/tag/v2.0.1) - 2015/11/08

### Chore

Update README and github links since move to reactjs.
Update README and github links since move to reduxjs.

## [v2.0.0](https://github.com/reactjs/reselect/releases/tag/v2.0.0) - 2015/10/02
## [v2.0.0](https://github.com/reduxjs/reselect/releases/tag/v2.0.0) - 2015/10/02

### Breaking Changes

Expand All @@ -154,7 +154,7 @@ Input selectors are now verified to be functions during selector creation. If ve

There is a small chance that this could cause a breaking change in code that contains a faulty selector that is never called.

## [v1.1.0](https://github.com/reactjs/reselect/releases/tag/v1.1.0) - 2015/09/16
## [v1.1.0](https://github.com/reduxjs/reselect/releases/tag/v1.1.0) - 2015/09/16

### New features

Expand Down Expand Up @@ -192,20 +192,20 @@ const structuredSelector = createStructuredSelector({
const result = structuredSelector({a: 1, b: 2}); // will produce {x: 1, y: 2}
```

## [v1.0.0](https://github.com/reactjs/reselect/releases/tag/v1.0.0) - 2015/09/09
## [v1.0.0](https://github.com/reduxjs/reselect/releases/tag/v1.0.0) - 2015/09/09

### Breaking Changes

If upgrading from 0.0.2, see the release notes for v1.0.0-alpha

## [v1.0.0-alpha2](https://github.com/reactjs/reselect/releases/tag/v1.0.0-alpha2) - 2015/09/01
## [v1.0.0-alpha2](https://github.com/reduxjs/reselect/releases/tag/v1.0.0-alpha2) - 2015/09/01

### New features

src directory included in npm package
js:next field added to package.json

## [v1.0.0-alpha](https://github.com/reactjs/reselect/releases/tag/v1.0.0-alpha) - 2015/09/01
## [v1.0.0-alpha](https://github.com/reduxjs/reselect/releases/tag/v1.0.0-alpha) - 2015/09/01

### Breaking Changes

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]

Simple “selector” library for Redux (and others) inspired by getters in [NuclearJS](https://github.com/optimizely/nuclear-js.git), [subscriptions](https://github.com/Day8/re-frame#just-a-read-only-cursor) in [re-frame](https://github.com/Day8/re-frame) and this [proposal](https://github.com/gaearon/redux/pull/169) from [speedskater](https://github.com/speedskater).
Simple “selector” library for Redux (and others) inspired by getters in [NuclearJS](https://github.com/optimizely/nuclear-js.git), [subscriptions](https://github.com/Day8/re-frame#just-a-read-only-cursor) in [re-frame](https://github.com/Day8/re-frame) and this [proposal](https://github.com/reduxjs/redux/pull/169) from [speedskater](https://github.com/speedskater).

* Selectors can compute derived data, allowing Redux to store the minimal possible state.
* Selectors are efficient. A selector is not recomputed unless one of its arguments changes.
Expand Down Expand Up @@ -182,7 +182,7 @@ const getVisibleTodosFilteredByKeyword = createSelector(

### Connecting a Selector to the Redux Store

If you are using [React Redux](https://github.com/reactjs/react-redux), you can call selectors as regular functions inside `mapStateToProps()`:
If you are using [React Redux](https://github.com/reduxjs/react-redux), you can call selectors as regular functions inside `mapStateToProps()`:

#### `containers/VisibleTodoList.js`

Expand Down Expand Up @@ -780,7 +780,7 @@ const subtotalSelector = createSelector(
)
```

The general consensus [here](https://github.com/reactjs/reselect/issues/38) and [over at nuclear-js](https://github.com/optimizely/nuclear-js/issues/14) is that if a selector needs a dynamic argument, then that argument should probably be state in the store. If you decide that you do require a selector with a dynamic argument, then a selector that returns a memoized function may be suitable:
The general consensus [here](https://github.com/reduxjs/reselect/issues/38) and [over at nuclear-js](https://github.com/optimizely/nuclear-js/issues/14) is that if a selector needs a dynamic argument, then that argument should probably be state in the store. If you decide that you do require a selector with a dynamic argument, then a selector that returns a memoized function may be suitable:

```js
import { createSelector } from 'reselect'
Expand Down Expand Up @@ -946,7 +946,7 @@ A: Yes! They are included and referenced in `package.json`. They should Just Wor

### Q: How can I make a [curried](https://github.com/hemanth/functional-programming-jargon#currying) selector?

A: Try these [helper functions](https://github.com/reactjs/reselect/issues/159#issuecomment-238724788) courtesy of [MattSPalmer](https://github.com/MattSPalmer)
A: Try these [helper functions](https://github.com/reduxjs/reselect/issues/159#issuecomment-238724788) courtesy of [MattSPalmer](https://github.com/MattSPalmer)

## Related Projects

Expand Down Expand Up @@ -974,11 +974,11 @@ Can be useful when doing **very expensive** computations on elements of a collec

MIT

[build-badge]: https://img.shields.io/travis/reactjs/reselect/master.svg?style=flat-square
[build]: https://travis-ci.org/reactjs/reselect
[build-badge]: https://img.shields.io/travis/reduxjs/reselect/master.svg?style=flat-square
[build]: https://travis-ci.org/reduxjs/reselect

[npm-badge]: https://img.shields.io/npm/v/reselect.svg?style=flat-square
[npm]: https://www.npmjs.org/package/reselect

[coveralls-badge]: https://img.shields.io/coveralls/reactjs/reselect/master.svg?style=flat-square
[coveralls]: https://coveralls.io/github/reactjs/reselect
[coveralls-badge]: https://img.shields.io/coveralls/reduxjs/reselect/master.svg?style=flat-square
[coveralls]: https://coveralls.io/github/reduxjs/reselect
16 changes: 8 additions & 8 deletions README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]

Простая библиотека “селекторов” для Redux, вдохновлённая геттерами в [NuclearJS](https://github.com/optimizely/nuclear-js.git), [подписками](https://github.com/Day8/re-frame#just-a-read-only-cursor) в [re-frame](https://github.com/Day8/re-frame) и этим [предложением](https://github.com/gaearon/redux/pull/169) от [speedskater](https://github.com/speedskater).
Простая библиотека “селекторов” для Redux, вдохновлённая геттерами в [NuclearJS](https://github.com/optimizely/nuclear-js.git), [подписками](https://github.com/Day8/re-frame#just-a-read-only-cursor) в [re-frame](https://github.com/Day8/re-frame) и этим [предложением](https://github.com/reduxjs/redux/pull/169) от [speedskater](https://github.com/speedskater).

* Селекторы могут вычислять производные данные, позволяя Redux сохранять (store) минимально возможное состояние (state).
* Селекторы эффективны. Селектор не производит вычислений, пока один из его аргументов не изменился.
Expand Down Expand Up @@ -175,7 +175,7 @@ const getVisibleTodosFilteredByKeyword = createSelector(

### Подключение Селектора к Redux Store

Если Вы используете [React Redux](https://github.com/reactjs/react-redux), Вы можете вызывать селекторы в качестве регулярных функций внутри `mapStateToProps()`:
Если Вы используете [React Redux](https://github.com/reduxjs/react-redux), Вы можете вызывать селекторы в качестве регулярных функций внутри `mapStateToProps()`:

#### `containers/VisibleTodoList.js`

Expand Down Expand Up @@ -754,7 +754,7 @@ const subtotalSelector = createSelector(
);
```

Общее решение [здесь](https://github.com/reactjs/reselect/issues/38) и [посредством nuclear-js](https://github.com/optimizely/nuclear-js/issues/14) заключается в том, что если селектору нужен динамический аргумент, то этот аргумент, вероятно, должен иметь своё состояние (state) в хранилище (store). Если вы решите, что вам нужен селектор с динамическим аргументом, то подходящим окажется селектор, который возвращает мемоизированную функцию:
Общее решение [здесь](https://github.com/reduxjs/reselect/issues/38) и [посредством nuclear-js](https://github.com/optimizely/nuclear-js/issues/14) заключается в том, что если селектору нужен динамический аргумент, то этот аргумент, вероятно, должен иметь своё состояние (state) в хранилище (store). Если вы решите, что вам нужен селектор с динамическим аргументом, то подходящим окажется селектор, который возвращает мемоизированную функцию:

```js
import { createSelector } from "reselect";
Expand Down Expand Up @@ -915,7 +915,7 @@ A: Да! Они включены и указаны в `package.json`. Они д

### Q: Как я могу сделать [каррированный](https://github.com/hemanth/functional-programming-jargon#currying) селектор?

A: Попробуйте эти [вспомогательные функции](https://github.com/reactjs/reselect/issues/159#issuecomment-238724788), любезно предоставленные [MattSPalmer](https://github.com/MattSPalmer)
A: Попробуйте эти [вспомогательные функции](https://github.com/reduxjs/reselect/issues/159#issuecomment-238724788), любезно предоставленные [MattSPalmer](https://github.com/MattSPalmer)

## Связанные проекты

Expand Down Expand Up @@ -943,9 +943,9 @@ A: Попробуйте эти [вспомогательные функции](h

MIT

[build-badge]: https://img.shields.io/travis/reactjs/reselect/master.svg?style=flat-square
[build]: https://travis-ci.org/reactjs/reselect
[build-badge]: https://img.shields.io/travis/reduxjs/reselect/master.svg?style=flat-square
[build]: https://travis-ci.org/reduxjs/reselect
[npm-badge]: https://img.shields.io/npm/v/reselect.svg?style=flat-square
[npm]: https://www.npmjs.org/package/reselect
[coveralls-badge]: https://img.shields.io/coveralls/reactjs/reselect/master.svg?style=flat-square
[coveralls]: https://coveralls.io/github/reactjs/reselect
[coveralls-badge]: https://img.shields.io/coveralls/reduxjs/reselect/master.svg?style=flat-square
[coveralls]: https://coveralls.io/github/reduxjs/reselect
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"es"
],
"bugs": {
"url": "https://github.com/reactjs/reselect/issues"
"url": "https://github.com/reduxjs/reselect/issues"
},
"scripts": {
"compile:commonjs": "better-npm-run compile:commonjs",
Expand Down Expand Up @@ -69,7 +69,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/reactjs/reselect.git"
"url": "https://github.com/reduxjs/reselect.git"
},
"license": "MIT",
"devDependencies": {
Expand Down

0 comments on commit 1057c58

Please sign in to comment.