v4.1.0-alpha.1
Pre-releaseThis 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
- Migrate Reselect source to TS ( #511 - @markerikson )