Skip to content

Commit 60d462a

Browse files
committed
Update README.md
1 parent c2ea2ac commit 60d462a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,15 @@ class CounterController {
9090

9191
## API
9292

93-
### `createStoreWith(reducer, [middlewares], [storeEnhancers])`
93+
### `createStoreWith(reducer, [middlewares], [storeEnhancers], [initialState])`
9494

9595
Creates the Redux store, and allow `connect()` to access it.
9696

9797
#### Arguments:
9898
* `reducer` \(*Function*): A single reducer composed of all other reducers (create with redux.combineReducer)
9999
* [`middlewares`] \(*Function[]*): Optional, An array containing all the middleware that should be applied. Functions and strings are both valid members. String will be resolved via Angular, allowing you to use dependency injection in your middlewares.
100100
* [`storeEnhancers`] \(*Function[]*): Optional, this will be used to create the store, in most cases you don't need to pass anything, see [Store Enhancer official documentation.](http://rackt.github.io/redux/docs/Glossary.html#store-enhancer)
101+
* [`initialState`] \(*Object*): Optional, the initial state of your Redux store.
101102

102103

103104
### `connect(mapStateToTarget, [mapDispatchToTarget])(target)`

0 commit comments

Comments
 (0)