Skip to content

Commit

Permalink
(redux example) use redux-logger
Browse files Browse the repository at this point in the history
  • Loading branch information
vinogradov committed May 22, 2017
1 parent fc97df8 commit 910d858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[See in action](https://vinogradov.github.io/react-starter-kit)

Includes only the latest and greatest web technologies (last updated at May 15 2017). Use it for your next heroic SPA project because you can't go wrong with it. Contains minimal viable "hello, world" code just to proof it works. Remove hello world and write your own great project.
Includes only the latest and greatest web technologies (dependencies updated at May 15 2017). Use it for your next heroic SPA project because you can't go wrong with it. Contains minimal viable "hello, world" code just to proof it works. Remove hello world and write your own great project.

# Principles
1. Use plain [ES2015](https://babeljs.io/docs/plugins/preset-es2015/)/[16](https://babeljs.io/docs/plugins/preset-es2016/)/[17](https://babeljs.io/docs/plugins/preset-es2017/). Minimize use of [experimental Stage-X](https://babeljs.io/docs/plugins/#presets-stage-x-experimental-presets-) javascript features. Only [stage-3](https://babeljs.io/docs/plugins/preset-stage-3/)/4 features are supported, because they're relatively stable
Expand Down
3 changes: 2 additions & 1 deletion src/examples/redux/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {createStore, applyMiddleware} from 'redux';
import {Provider} from 'react-redux';
import createSagaMiddleware from 'redux-saga';
import 'regenerator-runtime/runtime'; // eslint-disable-line import/no-extraneous-dependencies
import logger from 'redux-logger';
import reducers from './reducers';
import Counter from './counter';
import sagas from './sagas';
Expand All @@ -12,7 +13,7 @@ const sagaMiddleware = createSagaMiddleware();

const store = createStore(
reducers,
applyMiddleware(sagaMiddleware));
applyMiddleware(sagaMiddleware, logger));

sagaMiddleware.run(sagas);

Expand Down

0 comments on commit 910d858

Please sign in to comment.