Commit Graph

59 Commits

Author SHA1 Message Date
Dan Abramov
9922b554e6 Ported real-world 2016-08-08 18:38:07 +01:00
Dan Abramov
75c44157e2 Port async example 2016-08-07 14:30:49 +01:00
Dan Abramov
8536e9a055 Rename examples => examples_old 2016-08-07 13:46:56 +01: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
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
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
Dan Abramov
24d9c4ddcd rackt -> reactjs (see #1392) 2016-02-12 18:02:16 +00:00
Dan Abramov
872f231483 Fix compilation in examples now that env is required in src/.babelrc 2016-02-07 22:19:59 +00:00
Raphael Mu
1438a4a3fe update async example: streamline isEmpty and isFetching 2016-02-03 08:13:14 -05:00
Brandon Dail
ed93e95f8c use isEmpty variable in asnyc example
use a variable `isEmpty` instead of accessing `posts.length` twice. Makes it more readable, and short enough for the whole expression to exist on one line.
2016-02-02 21:09:12 -06:00
Dan Abramov
803e7fd241 Fix HMR for reducers now that we use Babel 6 2016-02-02 21:37:06 +00:00
Dan Abramov
305f9d2830 Bump redux and react-redux versions in examples 2016-02-02 13:41:52 +00:00
Dan Abramov
aab135ffd6 babel-polyfill should be a dependency of examples that use it 2016-02-02 11:38:40 +00:00
Dan Abramov
bb06fb2e36 Change examples to use less dependencies 2016-02-02 03:33:27 +00:00
Dan Abramov
a838fb4ae6 Fix conflicts and add explicit plugin config 2016-02-02 01:56:59 +00:00
Dan Abramov
7e8f250199 Bump deps 2016-01-29 02:44:48 +00:00
Dan Abramov
9650f04550 Bump example deps 2016-01-28 18:25:36 +00:00
Dan Abramov
5a1b3e045f Remove dangling comma 2016-01-28 17:07:38 +00:00
Dan Abramov
6b5c756088 Add first-class support for store enhancers to createStore() API 2016-01-28 16:04:30 +00:00
Dan Abramov
dedc53925e Bump example dependencies 2016-01-25 02:26:29 +00:00
just-boris
a7b676ec51 use https reddit endpoint
fixes #1209
2016-01-08 00:06:13 +03:00
Pavel Zagoskin
e3fcdcee24 upgrade to babel6 2015-12-20 14:56:09 -08:00
Dan Abramov
24daaab047 Revert "Make gh-pages examples runnable" 2015-11-27 18:44:55 +00:00
Moshe Kolodny
348175696c build examples in gh-pages
this commit will build the example repos when possible (not universal) to be compatible with the gh-pages
and link to them in the header of each example in the "Examples" section of the gitbook
2015-11-26 22:23:22 -05:00
Lee Bannard
257dd5ca7f Merge branch 'master' into rackt-eslint-config 2015-10-29 21:07:23 +00:00
Harry
31047c7007 Wrap express require in parentheses. 2015-10-29 16:17:41 -04:00
Lee Bannard
e9e4c56807 Fix lint errors in examples/async/ 2015-10-26 22:06:40 +00:00
Dan Abramov
d1e2583118 Update async example to React 0.14 2015-10-15 18:59:29 +03:00
Dan Abramov
e6715a1271 Fix spacing 2015-10-15 18:43:06 +03:00
Dan Abramov
7f5199e016 Instead of patching ExecutionEnvironment, use --require mocha option 2015-10-15 18:15:48 +03:00
Jérôme Chapron
d9f17c1eb4 Upgrade redux-logger to 2.0.2 in examples
Upgrades redux-logger from 0.0.x to 2.0.2 in async and real-world examples.
`redux-logger` now exports a function and not directly a middleware.
2015-10-06 10:24:39 +02:00
Bonnie DiPasquale
5020ac5bf6 Update babel-plugin-react-transform to 1.1.0
Update babel-plugin-react-transform in package.json
to install ^1.1.0 to support new format in babel config
2015-10-05 13:56:07 -04:00
Bonnie DiPasquale
5087762258 Update babel config for new transform format
Update the babel-plugin-react-transform config format to the new,
non-deprecated format from upstream. (v1.1.0+)
2015-10-05 11:29:17 -04:00
Tim Dorr
a09a726bff Missed getting rid of this dev-server.
Travis's logging infrastructure says thank you :P
2015-09-20 21:15:23 -04:00
Tim Dorr
9d992a91f2 Remove some useless boilerplate. 2015-09-20 21:05:30 -04:00
Tim Dorr
c36a8288db Update async and counter examples to webpack-hot-middleware. 2015-09-20 20:28:10 -04:00
Tim Dorr
5c8f9ea686 Update to renamed react-transform-hmr. 2015-09-20 19:35:01 -04:00
Tim Dorr
39072e3a46 Merge pull request #690 from davezuko/feature/transform-webpack-hmr
Updates examples to use react-transform-webpack-hmr
2015-09-15 12:59:30 -04:00
Dan Abramov
e3d4924545 Update example dependency versions 2015-09-13 03:15:03 +03:00
David Zukowski
daf029293c updates async example to use react-transform-webpack-hmr in place of react-hot-loader 2015-09-04 20:42:44 -04:00
Dan Abramov
80197eff76 Change examples to explicitly use replaceReducer() for hot reloading 2015-09-01 02:17:25 +03:00
Dan Abramov
318691eda0 Remove NoErrorsPlugin 2015-08-29 00:11:53 +03:00
mikekidder
9e908ec131 latest eslint related packages; full linting for redux 2015-08-25 21:57:26 -05:00
Dan Abramov
5c997b6ee2 Merge pull request #618 from mikekidder/fix.eslint.updates
updates for eslint cleanup
2015-08-26 04:45:55 +03:00
Dan Abramov
7533fb4d2c Update dependencies 2015-08-26 00:41:57 +03:00
Dan Abramov
ee619973eb Fix examples to work standalone 2015-08-26 00:39:18 +03:00
Mike Kidder
6a3f1eeedb updates for eslint cleanup 2015-08-24 19:41:39 -05:00