Skip to content

Conversation

@markerikson
Copy link
Contributor

This PR:

  • Adds an error message if resultFunc isn't a function
  • Improves the error message for bad dependency args
  • Includes memoizedResultFunc and lastResult in the util fields of the selector

Fixes #350
Fixes #404

Supersedes #358 , #359, #405 , #448 .

@codecov
Copy link

codecov bot commented Oct 20, 2021

Codecov Report

Merging #514 (c9a5207) into master (ee1500d) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #514   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           94       101    +7     
  Branches        21        24    +3     
=========================================
+ Hits            94       101    +7     
Impacted Files Coverage Δ
src/index.ts 100.00% <100.00%> (ø)

@RusinovAnton
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error exception for debugging circular dependencies More informative error message for createSelector

3 participants