All Versions
21
Latest Version
Avg Release Cycle
56 days
Latest Release
2367 days ago

Changelog History
Page 2

  • v2.3.0 Changes

    April 07, 2016

    ๐Ÿ†• New features

    โž• Add resultFunc property to selectors (#92)

  • v2.2.0 Changes

    March 15, 2016

    ๐Ÿ†• New features

    โž• Add Typescript typings to package.json (#94)

  • v2.1.0 Changes

    March 03, 2016

    ๐Ÿ†• New features

    โž• Add resetRecomputations method to selectors (#90)

  • v2.0.3 Changes

    February 01, 2016

    ๐Ÿ†• New features

    ๐Ÿ›  Fix bug (#78) in defaultMemoize which could cause the memoized value to be mistakenly returned for variadic functions.

  • v2.0.2 Changes

    January 14, 2016

    ๐Ÿ†• New features

    ๐Ÿ›  Fix IE8 support by compiling in 'loose' mode

  • v2.0.1 Changes

    November 08, 2015

    Chore

    โšก๏ธ Update README and github links since move to reduxjs.

  • v2.0.0 Changes

    October 02, 2015

    ๐Ÿ’ฅ Breaking Changes

    โœ… createSelector, createStructuredSelector, and custom selector creators check arguments

    Input selectors are now verified to be functions during selector creation. If verification fails an error is thrown, allowing for a useful stack trace

    There is a small chance that this could cause a breaking change in code that contains a faulty selector that is never called.

  • v1.1.0 Changes

    September 16, 2015

    ๐Ÿ†• New features

    โœ… createStructuredSelector

    โœ… createStructuredSelector is a convenience function that helps with a common pattern when using Reselect. The selector passed to a connect decorator often just takes other selectors and maps them to keys in an object:

    const mySelectorA = state => state.a;
    const mySelectorB = state => state.b;
    
    const structuredSelector = createSelector(
       mySelectorA,
       mySelectorB,
       mySelectorC,
       (a, b, c) => ({
         a, 
         b,
         c
       })
    );
    

    โœ… createStructuredSelector takes an object whose properties are input-selectors and returns a structured selector. The structured selector returns an object with the same keys as the inputSelectors argument, but with the selectors replaced with their values.

    const mySelectorA = state => state.a;
    const mySelectorB = state => state.b;
    
    const structuredSelector = createStructuredSelector({
      x: mySelectorA,
      y: mySelectorB
    });
    
    const result = structuredSelector({a: 1, b: 2}); // will produce {x: 1, y: 2}
    
  • v1.0.0 Changes

    September 09, 2015

    ๐Ÿ’ฅ Breaking Changes

    ๐Ÿš€ If upgrading from 0.0.2, see the release notes for v1.0.0-alpha

  • v1.0.0-alpha2 Changes

    September 01, 2015

    ๐Ÿ†• New features

    ๐Ÿ“ฆ src directory included in npm package ๐Ÿ“ฆ js:next field added to package.json