2024 Commits

Author SHA1 Message Date
Zhigang Fang
cda290ef72 Add default value option to combineReducers 2016-08-25 15:12:13 +08:00
Mark Erikson
14834591ea Merge pull request #1900 from papermana/master
Fixed a typo
2016-08-19 14:52:26 -04:00
yzuniversal
deb4364eb9 Fixed a typo 2016-08-19 20:36:18 +02:00
Simen Bekkhus
5da0f7abea Print ES3 diff if available (#1899)
Also update to latest version
2016-08-17 12:11:09 +01:00
Mark Erikson
50b97f855e Merge pull request #1897 from da-vaibhav/patch-1
small wording fix
2016-08-15 12:48:42 -04:00
vaibhav
de450c1e8f small wording fix
from ”headlines for a select subreddit” to: => ”headlines for a selected subreddit”.
2016-08-15 20:56:49 +05:30
Can Ibanoglu
4f8a4edb09 Wording fix in AsyncActions.md (#1890) 2016-08-10 15:41:36 -04:00
Tim Dorr
97e11e3423 We ain't got no flow no mo. 2016-08-10 00:43:09 -04:00
Denis Bardadym
ab0724d09b Fix(dependencies) Update symbol-observable requirement to 1.0.2 (#1877) 2016-08-09 21:24:19 -04:00
Mark Erikson
abf8312d7e Merge pull request #1886 from mikecasas/master
Added word for better sentence flow.
2016-08-08 22:10:20 -04:00
Mike Casas
5914bb6661 Added word for better sentence flow. 2016-08-08 19:50:27 -04:00
Dan Abramov
42f0e4e603 Revert "throw if getState, subscribe, or unsubscribe called while dispatching" (#1882) 2016-08-07 13:23:52 +01:00
Mark Erikson
1e46110fc2 Merge pull request #1876 from wouterds/patch-1
Fixed wrong unsubscribe example
2016-08-02 12:14:16 -04:00
Wouter De Schuyter
c9f1334c89 Fixed wrong unsubscribe example 2016-08-02 12:24:10 +02:00
Tim Dorr
d18a977260 Switch out non-ASCII quotes for ASCII versions. (#1874) 2016-08-01 16:45:58 -04:00
Mark Erikson
1ce3d14c63 Merge pull request #1872 from diegofu/master
Removed extra comma in package.json example
2016-07-28 12:18:34 -07:00
Diego
8807ac9408 Removed extra comma in package.json example 2016-07-28 11:58:19 -07:00
Daniel Lytkin
085eaec93d Improve typings for compose function (#1868) 2016-07-26 16:59:02 -04:00
Jimmy Jia
13add05e45 Add module entry point for webpack 2 (#1871) 2016-07-26 16:56:12 -04:00
Mike Wilcox
cb5a00b261 throw if getState, subscribe, or unsubscribe called while dispatching (#1569)
* throw error if getState, subscribe, or unsubscribe called while dispatching

* prevent throwing if not subscribed

* update getState error message

* fix space after period

* update subscribe/unsubscribe error messages
2016-07-19 11:36:09 -04:00
Frankie Bagnardi
47a3fa882a fixes xss vulnerability in universal example, #1855 (#1856) 2016-07-19 11:32:15 -04:00
Remo H. Jansen
4c5f91150b Added redux-bootstrap to utilities (#1652) 2016-07-19 11:23:11 -04:00
Ned Ruggeri
f24aa20818 document assertReducerSanity behavior (#1633)
It is not clear from the documentation that it is insufficient to
merely avoid ever passing in `undefined` as state by using initial
state. `assertReducerSanity` will test that your reducer does the
right thing when passed `undefined`, even if you never intend for it
to be called this way.

This documentation change makes that behavior clearer, in the hopes of
saving new users from needless frustration.
2016-07-19 11:20:54 -04:00
Erik Michaelson
5fb26a3728 Add a warning for undefined properties passed to combineReducers (#1789)
* Add warning to combineReducers for undefined properties

* Test that it warns for undefined reducer props

* Duh remove only

* add some newlines
2016-07-19 10:53:26 -04:00
Jan Henrik Øverland
8636df83a6 Update ExampleTodoList.md (#1852)
Calling todo(undefined, action) does not work without the default state value.
2016-07-18 23:53:18 -04:00
C. T. Lin
728432c705 Added missing IsolatingSubapps links to README (#1854) 2016-07-18 23:52:58 -04:00
Tim Dorr
a0cd5f2960 Remove redux-rx reference per #1848 2016-07-18 23:51:44 -04:00
Mark Erikson
e43ceac9ba Merge pull request #1848 from jayphelps/patch-1
docs(Ecosystem): update redux-observable link and description
2016-07-15 21:57:15 -04:00
Jay Phelps
1f97d79994 docs(Ecosystem): remove redux-rx link 2016-07-15 16:11:59 -07:00
Jay Phelps
0e5dfd11a4 docs(Ecosystem): update redux-observable link and description 2016-07-15 16:05:24 -07:00
Tim Dorr
29242591e4 Mention that we're Observable in the API. 2016-07-14 12:27:37 -04:00
Tyler Paul Thompson
994a79eb38 Create IsolatingSubapps.md (#1750)
* Create IsolatingSubapps.md

This is mostly derived from https://gist.github.com/gaearon/eeee2f619620ab7b55673a4ee2bf8400#file-subapp-index-js-L6 with a few edits that I hope are useful :)

* Update IsolatingSubapps.md

Add title and missing backticks; move final example closer to explanation for clarity

* Smart quotes

* More smart quotes

* You get a smart quote! And you get a smart quote!!

* Use more consistent component names

* Change subapps to sub-apps

* Also change title to Sub-Apps

* unified web products -> typical web apps
2016-07-10 13:35:53 -04:00
Tim Dorr
babd7a7ab0 Mention redux-observable 2016-07-10 13:33:59 -04:00
Tim Dorr
7c290b3873 Cleanup next steps part. 2016-07-10 13:32:16 -04:00
Simon Friis Vindum
d3eeaa0ee2 Mention redux-saga (#1842)
Remove "for most common needs" because `fetch` replaces `XMLHttpRequest` in its entirety. Men redux-saga because it is worth mentioning.
2016-07-10 13:29:32 -04:00
Lee Bannard
32af1cb758 Merge pull request #1835 from siakaramalegos/babel-transform-object-assign
Directs to babel-plugin-transform-object-assign instead
2016-07-06 18:29:19 +01:00
Sia
a2bc53885e Directs to babel-plugin-transform-object-assign instead
babel-plugin-object-assign is deprecated
2016-06-28 12:49:04 -05:00
Tyler Collier
0d4315ffea Update doc to use test with Enzyme (#1692) 2016-06-26 19:39:53 -04:00
Mark Erikson
310ddbaaac Merge pull request #1829 from atufkas/docs-3principles-MutateVsChange
Avoiding confusion with "mutating state"
2016-06-26 12:10:33 -04:00
Matthias Lienau
d4e57850e0 Using word 'change' instead of 'mutate' to avoid confusion with superior concept of 'immutable state'. 2016-06-26 15:06:13 +02:00
Brandon Dail
ea43078be1 Only warn for unexpected key once per key (#1818)
Create key cache in combineReducers

Only define unexpectedKeyCache in dev environment
2016-06-23 01:13:05 +01:00
Daniel Lytkin
cefb03adfd Merge pull request #1806 from raineorshine/patch-1
preloadedState is optional
2016-06-20 11:50:59 +07:00
Raine Revere
7e650ade8c Remove unnecessary optional type from StoreCreator. 2016-06-15 09:29:51 -06:00
Mark Erikson
4b63737c7f Merge pull request #1807 from scmx/patch-1
Correct first argument name into mapStateToProps
2016-06-14 11:29:16 -04:00
Albert Arvidsson
ae866e34ef Correct first argument name into mapStateToProps
Having it named mapDispatchToProps can be confusing, since connect takes
a mapStateToProps function as first argument.
2016-06-14 11:01:51 +02:00
Raine Revere
7f6446e323 preloadedState is optional 2016-06-13 16:01:59 -06:00
Lee Bannard
b04e7e4ea7 Remove rackt style paragraph from CONTRIBUTING.md 2016-06-09 22:38:51 +01:00
Lee Bannard
017446f700 Merge pull request #1782 from jugend/fix-todomvc-spec
Fix duplicate statement in todomv test spec
2016-06-09 22:27:33 +01:00
Lee Bannard
c201ae0726 Remove reference to aliases in CONTRIBUTING.md 2016-06-09 20:56:55 +01:00
Mark Erikson
ad33fa7314 Merge pull request #1791 from zhe/patch-2
update links
2016-06-05 11:24:57 -04:00