Skip to content

Conversation

@dliv
Copy link
Contributor

@dliv dliv commented May 26, 2016

This renames initialState in createStore and configureStore, as well as window.__INITIAL_STATE__ to address #1743. It doesn't touch use of initialState in the reducer examples.

There are a couple of comments that refer to preloadedState as 'initial state' that weren't addressed because I thought 'initial state' added to readability, e.g. https://github.com/reactjs/redux/compare/master...dliv:issue-1743?expand=1#diff-2b443c0a3e751858f6315977ee4a769aR85

@gaearon
Copy link
Contributor

gaearon commented May 26, 2016

This looks good to me, any objections from other maintainers?
@reactjs/redux

@timdorr
Copy link
Member

timdorr commented May 26, 2016

👍

@ellbee
Copy link
Contributor

ellbee commented May 27, 2016

LGTM

@gaearon gaearon merged commit b523aa4 into reduxjs:master May 27, 2016
seantcoyote pushed a commit to seantcoyote/redux that referenced this pull request Jan 14, 2018
* 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__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants