Skip to content

Commit b318a66

Browse files
committed
Format all files
1 parent 1f768c4 commit b318a66

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

test/lruMemoize.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,16 +428,16 @@ describe(lruMemoize, () => {
428428

429429
const createSelector = createSelectorCreator({
430430
memoize: lruMemoize,
431-
argsMemoize: lruMemoize
431+
argsMemoize: lruMemoize,
432432
}).withTypes<State>()
433433

434434
const selector = createSelector(
435435
[(state, id: number) => state[id]],
436436
state => state,
437437
{
438438
argsMemoizeOptions: { maxSize: 10 },
439-
memoizeOptions: { maxSize: 10 }
440-
}
439+
memoizeOptions: { maxSize: 10 },
440+
},
441441
)
442442

443443
const firstResult = selector(state, 0)

website/docs/introduction/getting-started.mdx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,15 @@ In addition to skipping unnecessary recalculations, `memoizedSelectCompletedTodo
165165
## Terminology
166166

167167
- <InternalLinks.Selector text={<b>Selector Function</b>} />
168-
: A function that accepts one or more JavaScript values as arguments, and derives
169-
a result. When used with <ExternalLinks.Redux />, the first argument is typically
170-
the entire Redux store state.
168+
: A function that accepts one or more JavaScript values as arguments, and
169+
derives a result. When used with <ExternalLinks.Redux />, the first argument
170+
is typically the entire Redux store state.
171171
- <InternalLinks.InputSelectors text={<b>Input Selectors</b>} />
172-
: Basic selector functions used as building blocks for creating a memoized selector.
173-
They are passed as the first argument(s) to <InternalLinks.CreateSelector />, and
174-
are called with all selector arguments. They are responsible for extracting and
175-
providing necessary values to the <InternalLinks.ResultFunction />.
172+
: Basic selector functions used as building blocks for creating a memoized
173+
selector. They are passed as the first argument(s) to <InternalLinks.CreateSelector />
174+
, and are called with all selector arguments. They are responsible for
175+
extracting and providing necessary values to the <InternalLinks.ResultFunction />
176+
.
176177
- <InternalLinks.OutputSelector text={<b>Output Selector</b>} />
177178
: The actual memoized selectors created by <InternalLinks.CreateSelector />.
178179
- <InternalLinks.ResultFunction text={<b>Result Function</b>} />

0 commit comments

Comments
 (0)