Commit Graph

2025 Commits

Author SHA1 Message Date
Tim Dorr
5f784e998e Restore example build scripts. 2016-08-10 18:10:28 -04:00
Tim Dorr
5b97e75afb Temp fix install until examples get an equivalent to buildAll.js 2016-08-10 17:48:20 -04:00
Dan Abramov
15f805e7af Add missing dep 2016-08-08 23:46:40 +01:00
Dan Abramov
9922b554e6 Ported real-world 2016-08-08 18:38:07 +01:00
Dan Abramov
644a86f01d Ported tree-view 2016-08-08 18:18:16 +01:00
Dan Abramov
d709b4e0b1 Ported shopping-cart example 2016-08-08 16:57:59 +01:00
Dan Abramov
cd8098499f Add todomvc example 2016-08-08 16:07:33 +01:00
Dan Abramov
e25b5ef56b Port some tests over 2016-08-08 15:14:06 +01:00
Dan Abramov
5cdcd6c1eb Port todos-with-undo example 2016-08-07 15:08:19 +01:00
Dan Abramov
8f222230fe Port todos example 2016-08-07 14:45:47 +01:00
Dan Abramov
75c44157e2 Port async example 2016-08-07 14:30:49 +01:00
Dan Abramov
4c07f13398 Port counter and counter-vanilla 2016-08-07 14:01:01 +01:00
Dan Abramov
8536e9a055 Rename examples => examples_old 2016-08-07 13:46:56 +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