Skip to content

Commit

Permalink
fix(docs): Broken MD syntax (react-boilerplate#1165)
Browse files Browse the repository at this point in the history
* fix broken MD syntax

fixes react-boilerplate#1164

* remove unused heading
  • Loading branch information
GGAlanSmithee authored and mxstbr committed Nov 2, 2016
1 parent 3a92bd9 commit 097de64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/js/remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ way to go for most redux based applications.
If you really want to get rid of it, you will have to delete its traces from several places.

**app/store.js**

1. Remove statement `import createSagaMiddleware from 'redux-saga'`.
2. Remove statement `const sagaMiddleware = createSagaMiddleware()`.
3. Remove `sagaMiddleware` from `middlewares` array.
4. Remove statement `store.runSaga = sagaMiddleware.run`

**app/utils/asyncInjectors.js**

1. Remove `runSaga: isFunction` from `shape`.
2. Remove function `injectAsyncSagas`.
3. Do not export `injectSagas: injectAsyncSagas(store, true)`.

**app/routes.js**

1. Do not pull out `injectSagas` from `getAsyncInjectors()`.
2. Remove `sagas` from `importModules.then()`.
3. Remove `injectSagas(sagas.default)` from every route that uses Saga.
Expand Down Expand Up @@ -56,6 +59,3 @@ const history = syncHistoryWithStore(browserHistory, store, {
selectLocationState: selectLocationState(),
});
```


How does this look?

0 comments on commit 097de64

Please sign in to comment.