David Livingston
b523aa4ae5
Issue 1743 ( #1770 )
...
* rename createStore param `initialState` to `preloadedState`
* rename configureStore param `initialState` to `preloadedState`
* rename `window.__INITIAL_STATE__` in examples and docs
rename window.__INITIAL_STATE__ to window.__PRELOADED_STATE__
2016-05-27 20:50:45 +01:00
Evgeny Samsonov
dcaa0c626f
Docs: remove semicolons according code style ( #1763 )
2016-05-23 18:22:55 +01:00
Mark Erikson
177655ad13
Fix typo
2016-04-21 11:50:02 -04:00
Ivan Akulov
8bab783d05
Clarify dispatch() usage inside subscribe() listener ( #1630 )
2016-04-21 16:11:50 +01:00
Dan Abramov
9492f24e64
Move object spread docs around
2016-02-19 19:17:26 +00:00
Dan Abramov
03c8c6b4ee
Fix typo related to #1425
2016-02-19 13:49:54 +00:00
Daniel Cefram Ramirez
46028a584e
Update example for conditional applyMiddleware
...
The example of the tip for apply a middleware threw some errors to me. The reason is because an array was passed to applyMiddleware.
We should pass each elem of the array as an argument first to get it to work.
2016-02-18 16:12:05 +08:00
Dan Abramov
abcf6c2fe7
Merge pull request #1399 from krawaller/patch-1
...
Clarify comment in compose.js
2016-02-15 21:10:24 +00:00
David Waller
76ff519912
made similar update to .md doc
2016-02-15 22:08:29 +01:00
git-in-my-anus
045cd9e248
Fix incorrect link to Babel preset
...
transform-object-rest-spread is no longer in stage-1
2016-02-15 21:02:38 +05:00
Dan Abramov
24d9c4ddcd
rackt -> reactjs (see #1392 )
2016-02-12 18:02:16 +00:00
Dan Abramov
24aade4731
Fix documentation around nested dispatches and add test to verify it
2016-01-31 21:31:12 +00:00
Josh Duff
106ee6abf7
Adding enhancer to createStore signature
2016-01-30 17:51:55 -06:00
Tim Whitbeck
2fea8f9d73
Fix link for Babel Stage 1
2016-01-29 10:42:18 -05:00
Dan Abramov
dc5fdb4ae6
Update docs to use the simplified enhancer application
2016-01-28 17:01:21 +00:00
Dan Abramov
6de0cda36e
Clarify how nested dispatches work
...
Fixes #1221
2016-01-27 01:07:13 +00:00
Dan Abramov
b75ed10800
Merge pull request #1286 from mattiasgronlund/master
...
Clarify that Store subscribe listeners should not expect to see all states
2016-01-27 00:57:22 +00:00
Mattias Grönlund
8e83d93da2
Clarify that Store subscribe listners should not expect to see all state chages.
2016-01-26 23:39:06 +01:00
Anthony Zotti
c30d75fe4a
Fix grammatical errors in combineReducers.md
2016-01-08 14:20:27 -08:00
Dan Abramov
ec0b1a36e9
Clarify combineReducers() usage
2015-12-22 20:28:46 +00:00
Vincent Taing
5f7006c840
Emphazises combineReducers change the state object form
2015-12-22 18:26:28 +01:00
Thomas
fb7ab0903a
Removed store.dispatch return value details
...
Added a "see notes" so that it's more clear that this return value can change.
2015-12-04 20:48:35 +00:00
Thomas
12961ebc4a
Added clarity around return value of store.dispatch
2015-12-04 20:17:53 +00:00
Lee Bannard
9bfefed90b
Fix lint errors for docs/api
2015-10-27 12:53:25 +00:00
G. Kay Lee
83581df43a
Update compose.md
...
Fix incorrect desugared example code of `compose()`
2015-10-21 16:20:21 +08:00
Daniel Bugl
e75a26e526
update applyMiddleware.md to React 0.14
2015-10-15 18:46:46 +02:00
J. Andrew Brassington
4f32be9a8a
Fix typo (docs/api/applyMiddleware)
...
Line 235: "poweful" => "powerful"
2015-10-05 13:49:18 -07:00
Dan Abramov
ecb1bb453a
Merge pull request #831 from gsklee/patch-3
...
Update applyMiddleware.md
2015-10-02 16:28:39 +03:00
Dan Abramov
e09716066f
Merge pull request #834 from gsklee/master
...
Update bindActionCreators.md
2015-10-02 16:15:19 +03:00
G. Kay Lee
53acfb1fb7
Update bindActionCreators.md
...
Update an outdated example which contains obsolete `react-redux` API usage
2015-10-02 18:59:24 +08:00
G. Kay Lee
0beb85a8c0
Update applyMiddleware.md
...
Update an outdated example which contains obsolete `react-redux` API usage
2015-10-02 18:23:04 +08:00
Cam Song
b9bf60687e
Update combineReducers.md
...
remove unused code
2015-10-01 01:14:29 +08:00
Dan Abramov
3cb678de1f
Merge pull request #813 from chentsulin/patch-13
...
combineReducers.md: remove unnecessary line break
2015-09-27 19:08:54 +03:00
C. T. Lin
238f178257
combineReducers.md: remove unnecessary line break
2015-09-27 22:00:45 +08:00
C. T. Lin
bb0d117a4e
wording: combineReducers.md
...
may -> must
2015-09-27 20:06:23 +08:00
C. T. Lin
3e9a8fe2c3
Update bindActionCreators.md
...
fix grammar
2015-09-26 01:24:38 +08:00
Dmitry Minkovsky
a6f4042abf
Docs: applyMiddleware API
...
Moved logging example to the top.
Logging is the canonical example of a cross-cutting concern. It is
(or should always be) the first example of implementing a cross
cutting concern, followed by more exotic things like async thunks.
2015-09-17 11:18:06 -04:00
Dan Abramov
d7926b57ed
Undeprecate replaceReducer
2015-09-13 02:38:17 +03:00
Dan Abramov
2c473534fc
Doc and wording tweaks
2015-09-13 02:36:42 +03:00
Misha Moroshko
06fd8fd15d
Rename intent to async action
2015-09-03 15:20:19 +10:00
Dan Abramov
5b9a8b09e9
Fix compose() to have a less surprising API
2015-09-01 03:13:44 +03:00
Dan Abramov
5144bbecd4
Remove getReducer from public API
2015-09-01 02:29:53 +03:00
Dan Abramov
5a61131d34
Merge pull request #590 from ghengeveld/patch-1
...
Don't recommend the use of `import * as reducers`.
2015-08-25 15:22:28 +03:00
Gert Hengeveld
a223805b86
Remove console.log here since the result is no longer relevant.
2015-08-21 13:03:25 +02:00
Dan Abramov
c6ac7ab497
Update applyMiddleware.md
2015-08-21 13:58:02 +03:00
Slava Shklyaev
0c0434d4b5
Add a tip about conditionally applying middleware
2015-08-21 13:32:31 +03:00
Gert Hengeveld
afa274c8df
Rephrase the note on using reducers/index.js and reorder the example code snippets, as suggested by Dan.
2015-08-21 10:24:54 +02:00
Gert Hengeveld
60736c8b39
Don't recommend the use of import * as reducers.
...
Replaced the suggestion to use `import * as reducers` with the recommendation to use `reducers/index.js` and call `combineReducers` there. Updated the code examples accordingly.
2015-08-20 10:42:53 +02:00
Edvin Erikson
5e1955afc3
Fixed misspell in docs
2015-08-15 12:09:50 +02:00
Dan Abramov
c66d073562
Merge pull request #512 from mindjuice/patch-19
...
Minor help text improvements
2015-08-14 22:40:18 +03:00