github reduxjs/reselect v4.1.0-alpha.1

latest releases: v5.1.0, v5.0.1, v5.0.0...
pre-release2 years ago

This alpha release migrates the Reselect source to TypeScript, and updates all associated build tooling. There are no further changes to runtime behavior.

npm i reselect@next

yarn add reselect@next

We plan on tackling actual API improvements in upcoming alpha releases, such as possible new options for cache size and memoization behavior.

Changes

TypeScript Migration

Following on from the rewrite of the TS typedefs in https://github.com/reduxjs/reselect/releases/tag/v4.1.0-alpha.0 , we've gone ahead and migrated the actual Reselect source to TS using those updated types. There were some additional tweaks needed to make this work (such as using interfaces rather than function overloads), but the types themselves should work exactly the same as alpha.0. All existing type tests pass, and we've confirmed that some existing TS+Redux apps still compile correctly if Reselect is upgraded to this build.

Along with that, the build tooling has been updated to properly compile TypeScript (based on the current build setup for React-Redux), and we've switched the test setup to use Jest instead of Mocha for consistency.

Changelog

v4.1.0-alpha.0...v4.1.0-alpha.1

Don't miss a new reselect release

NewReleases is sending notifications on new releases.