Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Nov 11, 2023
1 parent 8db66aa commit 212e889
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1531,8 +1531,8 @@ Conceptually, Reselect works like this internally:

```ts
const finalSelector = (...args) => {
const extractedValues = inputFunctions.map(input => input(...args));
return output(...extractedValues);
const extractedValues = inputFunctions.map(input => input(...args))
return output(...extractedValues)
}
```

Expand Down Expand Up @@ -1588,8 +1588,7 @@ const finalResult =
items.filter(item => item.category === category && item.id !== id)
```


More generally, you can have N arguments passed to the selector, and you can have M input functions extracting values from any of those arguments. All M extracted values get passed to the output function.
More generally, you can have N arguments passed to the selector, and you can have M input functions extracting values from any of those arguments. All M extracted values get passed to the output function.

### The default memoization function is no good, can I use a different one?

Expand Down

0 comments on commit 212e889

Please sign in to comment.