fix(deps): update dependency reselect to v5.1.0 #440
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.0.1
->5.1.0
Release Notes
reduxjs/reselect (reselect)
v5.1.0
Compare Source
This minor release:
createSelector.withTypes<RootState>()
andcreateStructuredSelector.withTypes<RootState>()
APITypedStructuredSelectorCreator
type introduced in 5.0identityFunctionCheck
by only running if the output selector is passed one argumentweakMapMemoize
'sresultEqualityCheck
when used with a primitive result.withTypes
Most commonly, selectors will accept the root state of a Redux store as their first argument.
withTypes
allows you to specify what that first argument will be ahead of creating the selector, meaning it doesn't have to be specified.Known limitations
Due to a Typescript issue, inference of the output selector's parameters only works with
withTypes
when using an array of input selectors.If using the variadic version, you can either wrap your input selectors in an array instance (as above), or annotate the parameters manually.
What's Changed
identityFunctionCheck
false positives by @Methuselah96 in https://github.com/reduxjs/reselect/pull/660_lastResult.deref
is not a function (it is undefined) in React Native and Expo applications by @aryaemami59 in https://github.com/reduxjs/reselect/pull/671createSelector
viacreateSelector.withTypes<RootState>()
method by @aryaemami59 in https://github.com/reduxjs/reselect/pull/673TypedStructuredSelectorCreator
by @aryaemami59 in https://github.com/reduxjs/reselect/pull/667createStructuredSelector
viacreateStructuredSelector.ts.withTypes<RootState>()
method by @aryaemami59 in https://github.com/reduxjs/reselect/pull/678vitest
to v1 by @aryaemami59 in https://github.com/reduxjs/reselect/pull/668New Contributors
Full Changelog: reduxjs/reselect@v5.0.1...v5.1.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.