Commit Graph

376 Commits

Author SHA1 Message Date
Can Ibanoglu
5c59d104b1 Shopping cart example updates (#1896)
* Converted all stateless components to arrow functions. Converted all functions to arrow functions

* PropTypes enhancements in components Cart and Product
2016-08-15 21:21:43 -04:00
Max
f7b522086c Modernize counter example setup 2016-06-14 18:28:16 +02:00
Dan Abramov
73875040d1 Modernize async example setup 2016-06-12 02:25:43 +01:00
Dan Abramov
0a5ea4828f Start updating async example (wip) 2016-06-12 01:21:21 +01:00
Dan Abramov
6cc5f17ee4 Merge pull request #1403 from xulien/master
Replace universal example with async-with-routing and async-universal
2016-06-11 22:15:51 +01:00
Herryanto Siatono
3fb712d1f0 Fix duplicate statement in todomvc test spec 2016-05-31 00:46:36 +08:00
akai
325a937589 Fix typo: OccurenceOrderPlugin -> OccurrenceOrderPlugin (#1778) 2016-05-28 17:57:55 +01: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
Jon Surrell
2ec2b1a239 Update api.js normalizr URL (#1762)
The normalizr lib has moved to a different location. Update the URL in comments to point to the new repo.
2016-05-23 12:47:44 +01:00
Jiayi Hu
afffc26dc3 Add expect to devDependencies to run tests (#1721)
`expect` package is missing from devDependencies and it's required to run tests in this example.
2016-05-13 14:01:40 +01:00
Dan Abramov
b3f1c16992 Refactor selector colocation for better readability 2016-05-10 18:50:06 +01:00
Dan Abramov
63d7e27172 Use a different convention for colocating reducers with selectors 2016-05-10 18:44:57 +01:00
Gabin Aureche
e64573ecf9 Fix real world to be case insensitive (#1685) 2016-05-01 20:15:18 +01:00
Josh Burgess
14d4a51e6c Use object literal property value shorthand consistently
All action functions returned objects using the property value shorthand for the 'reddit' key & value except for 'receivePosts'. I updated it simply for consistency. I think it was just an oversight.
2016-04-25 18:13:40 -04:00
xulien
052c8d7499 Merge https://github.com/reactjs/redux 2016-04-21 15:10:25 +02:00
xulien
35469d4531 es5 version for the sake of consistency 2016-04-14 07:15:44 +02:00
xulien
2f3cad8571 babel-preset-react-hmre removed 2016-04-12 15:31:42 +02:00
xulien
a56fcbb7e1 indentation 2016-04-12 14:41:58 +02:00
xulien
6a5d6e620c App component with kind of header added 2016-04-12 14:12:26 +02:00
xulien
a424585f84 compile redux from source is needed here 2016-04-12 14:11:34 +02:00
xulien
38105caf9b Remove NoErrorsPlugin 2016-04-12 13:18:55 +02:00
xulien
6890c4af47 Remove NoErrorsPlugin 2016-04-12 13:18:45 +02:00
xulien
bf3b17a8b9 Layout.js renamed to App.js 2016-04-12 13:12:22 +02:00
xulien
50ef70c93f Per-file ESLint exceptions removed 2016-04-12 10:08:01 +02:00
xulien
5b96f84d84 Remove hacks to alias Redux to src folder in examples 2016-04-12 10:01:34 +02:00
xulien
110489eeb9 remove unused import 2016-04-12 09:58:31 +02:00
xulien
d4604bb3a5 typo 2016-04-12 09:57:13 +02:00
xulien
a489327c06 missing space 2016-04-12 09:53:42 +02:00
xulien
545b2888c6 remove static keyword 2016-04-12 09:52:27 +02:00
xulien
a1f2d631cf remove transform-class-properties 2016-04-12 09:48:46 +02:00
xulien
ad054bb24e cleaning 2016-03-11 21:10:35 +01:00
xulien
c8bfd67af8 move fetchdata into container 2016-03-11 14:40:08 +01:00
xulien
9633ecff23 cleaning 2016-03-11 10:53:45 +01:00
xulien
71d55cf12a intermediate refactoring 2016-03-11 09:56:53 +01:00
xulien
c91dccb703 Layout.js removed 2016-03-11 09:33:31 +01:00
Mike Wilcox
9fea1dedc5 fix minor typo 2016-03-09 11:40:08 -05:00
Frank Showalter
5d74b3b39b add tree view example tests (for #1481) 2016-03-08 07:49:56 -05:00
Frank Showalter
9353e1e5ba add shopping cart example tests (for #1481) 2016-03-07 08:08:03 -05:00
Dan Abramov
be55659360 Remove NoErrorsPlugin from examples
We should only add it later when/if webpack-hot-middleware learns to display syntax error overlay over last successful bundle instead of just silently serving it.
2016-03-06 04:34:39 +00:00
Dan Abramov
0b9416bb8d Remove hacks to alias Redux to src folder in examples
We don’t actively develop the source anymore for this to be useful.
This only creates confusion and, additionally, breaks hot reloading because of BABEL_ENV conflicts with the root .babelrc.
2016-03-06 04:34:39 +00:00
Dan Abramov
c12e8af026 Update some example dev packages 2016-03-06 04:34:39 +00:00
Frank Showalter
17ed9185e6 use enzyme in tests (resolves #1481) 2016-03-05 20:55:07 -05:00
just-boris
4a80c207d1 tree-view: simplify reducer function 2016-03-02 22:30:10 +03:00
Dan Abramov
fa96297e89 Merge pull request #1442 from coryhouse/patch-6
Added missing propType validation
2016-02-25 03:10:27 +00:00
Cory House
4e7c5634c5 Added missing propType validation 2016-02-24 21:07:55 -06:00
Cory House
6828ebece2 Added missing propType validation 2016-02-24 21:06:50 -06:00
xulien
35fcf275b8 generic index route 2016-02-23 11:11:10 +01:00
xulien
4033f7d483 cleaning 2016-02-23 11:01:57 +01:00
xulien
30e4d8004c generic index route 2016-02-23 10:57:10 +01:00
xulien
0dc353fba3 async-universal example 2016-02-18 21:56:19 +01:00