Skip to content

Commit fda697a

Browse files
authored
Merge pull request #297 from Mosho1/patch-1
Use provided memoize function for selectors
2 parents 59456cd + f0c8af4 commit fda697a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function createSelectorCreator(memoize, ...memoizeOptions) {
6565
)
6666

6767
// If a selector is called with the exact same arguments we don't need to traverse our dependencies again.
68-
const selector = defaultMemoize(function () {
68+
const selector = memoize(function () {
6969
const params = []
7070
const length = dependencies.length
7171

0 commit comments

Comments
 (0)