Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: goldensunliu/redux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: goldensunliu/redux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: alpha
Choose a head ref
  • 4 commits
  • 43 files changed
  • 1 contributor

Commits on Jun 30, 2015

  1. Breaking API changes for 1.0

    Naming:
    
    * “Stateless Stores” are now called reducers. (reduxjs#137 (comment))
    * The “Redux instance” is now called “The Store”. (reduxjs#137 (comment))
    * The dispatcher is removed completely. (reduxjs#166 (comment))
    
    API changes:
    
    * <s>`composeStores`</s> is now `composeReducers`.
    * <s>`createDispatcher`</s> is gone.
    * <s>`createRedux`</s> is now `createStore`.
    * `<Provider>` now accepts `store` prop instead of <s>`redux`</s>.
    * The new `createStore` signature is `createStore(reducer: Function | Object, initialState: any, middlewares: Array | ({ getState, dispatch }) => Array)`.
    * If the first argument to `createStore` is an object, `composeReducers` is automatically applied to it.
    * The “smart” middleware signature changed. It now accepts an object instead of a single `getState` function. The `dispatch` function lets you “recurse” the middleware chain and is useful for async: reduxjs#113 (comment).
    
    Correctness changes:
    
    * The `dispatch` provided by the default thunk middleware now walks the whole middleware chain.
    * It is enforced now that raw Actions at the end of the middleware chain have to be plain objects.
    * Nested dispatches are now handled gracefully. (reduxjs#110)
    
    Internal changes:
    
    * The object in React context is renamed from <s>`redux`</s> to `store`.
    * Some tests are rewritten for clarity, focus and edge cases.
    * Redux in examples is now aliased to the source code for easier work on master.
    gaearon committed Jun 30, 2015
    Configuration menu
    Copy the full SHA
    e426039 View commit details
    Browse the repository at this point in the history
  2. 1.0.0-alpha

    gaearon committed Jun 30, 2015
    Configuration menu
    Copy the full SHA
    89ce413 View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary changes

    gaearon committed Jun 30, 2015
    Configuration menu
    Copy the full SHA
    34d90b9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c71517d View commit details
    Browse the repository at this point in the history
Loading