Commit Graph

702 Commits

Author SHA1 Message Date
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
Diego
8807ac9408 Removed extra comma in package.json example 2016-07-28 11:58:19 -07: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
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
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
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
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
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
Zhe Zhang
24049cb9d3 update links 2016-06-05 23:06:38 +08:00
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
Sam Umbach
c90684f53a Fix minor typo in Reducing Boilerplate (#1777) 2016-05-27 20:50:14 +01:00
Sam Umbach
f1fa7ed849 Fix minor typo in documentation (#1776) 2016-05-27 20:50:00 +01:00
Dan Abramov
129b1f6b7b Update Ecosystem.md 2016-05-27 00:41:46 +01:00
Wes Bos
848520f90b Added Learn Redux to screencasts (#1765)
Hope you are willing to have this listed - I've got lots of great feedback from people who have taken it!
2016-05-23 22:20:39 +01:00
Evgeny Samsonov
dcaa0c626f Docs: remove semicolons according code style (#1763) 2016-05-23 18:22:55 +01:00
Dan Abramov
9ac2f23fac Add an article about Redux Saga 2016-05-23 02:47:39 +01:00
spmiller
62fc713ba9 Add extra required babel configuration step
I had to add a .babelrc change to get the default examples to work, as described here:
http://jamesknelson.com/testing-in-es6-with-mocha-and-babel-6/
2016-05-16 10:29:53 +12:00
Dan Abramov
99118402ca Add redux-optimistic-ui 2016-05-15 12:24:42 +01:00
Dan Abramov
8f8551769a Add redux-action-tree 2016-05-14 21:45:51 +01:00
Dan Abramov
b024e3f66c Add a few middlewares 2016-05-13 13:44:20 +01:00
Dylan Companjen
f55323d24b Update to reflect the code from the examples overview (#1717) 2016-05-11 20:02:17 +01:00
Enguerran
ef4387126a May we speak about React Native instead of React (#1704)
I think React is in our head stamped with ReactDOM.
So it may be clearer to specifiate React Native, even if there is no difference between using Redux within React nor React Native.

What do you think?
2016-05-10 22:28:46 +01:00
Tomy Jaya
ce6e2d6cca Update WritingTests.md
Just fixed a sentence error.
2016-05-04 13:46:37 +08:00
Peter Jang
42c6ed7766 Change doc examples to use TOGGLE_TODO action consistently (#1690) 2016-05-03 16:29:05 +01:00
Dan Abramov
0063fb28ff Add redial to Ecosystem (#1689) 2016-05-03 01:52:56 +01:00
Luqmaan Dawoodjee
a04013e99a Update ComputingDerivedData.md (#1666)
Fix typo
2016-04-26 00:04:10 +01:00
Josh Kelley
ddc883cbbb Add shouldComponentUpdate note to UsageWithReact (#1524)
* Add shouldComponentUpdate note to UsageWithReact

* Revise wording

* Fix punctuation
2016-04-21 21:56:31 +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
24ab45f2ac Clarify the wording 2016-04-14 21:47:44 +01:00
Laszlo Megyer
95496d0d29 Actions.md: swapped the order of flux and redux examples. Redux comes first. (#1615)
As a casual reader the flux example might be confusing.
This is a Redux document, why not jump to the best part first?
2016-04-14 21:46:30 +01:00
Dan Abramov
1e517a3cea Update Ecosystem.md 2016-04-13 19:14:36 +01:00
Jory Graham
4aa1d45ab0 Change the wording around async failing
To make it read a little better.
2016-04-13 11:43:43 -04:00
Sergio Daniel Xalambrí
38a91abbbd Add spanish docs link to ecosystem page 2016-04-13 01:42:34 -05:00
Dmitry Zaets
ba33798979 Add redux-actions-assertions (#1601) 2016-04-12 20:34:41 +01:00
Stenver
23efb53979 Add a note that action creators do not have to be pure (#1590)
* Add a note that action creators do not have to be pure

As a result of this PR:
https://github.com/reactjs/redux/pull/1589#issuecomment-206778709

I understood that some of my understanding about Action Creators were
false. This PR aims to make the fact that action creators are the places
where to make API calls more explicit and clearer for future
readers.

* Add note to finish basic tutorial before heading to advanced tutorial
2016-04-11 20:40:48 +01:00
Mark Erikson
71c1ae9166 Add "state shape should be normalized" link 2016-04-10 21:28:29 -04:00
Max Stoiber
562a09b020 Merge pull request #1566 from hoegrammer/master
Simpler with mocha's built-in promise support
2016-04-10 11:08:59 +02:00
Omer Zach
9eb653419b Fix grammar error in Reducers.md 2016-04-06 21:06:28 -07:00