From 14fa8ddd2018396de4feb7d562449218f995abb9 Mon Sep 17 00:00:00 2001 From: Arya Emami Date: Mon, 12 Aug 2024 21:30:59 -0500 Subject: [PATCH] Format all files --- test/lruMemoize.test.ts | 6 +++--- website/docs/introduction/getting-started.mdx | 15 ++++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/test/lruMemoize.test.ts b/test/lruMemoize.test.ts index 677eaf08e..bc7b345a0 100644 --- a/test/lruMemoize.test.ts +++ b/test/lruMemoize.test.ts @@ -428,7 +428,7 @@ describe(lruMemoize, () => { const createSelector = createSelectorCreator({ memoize: lruMemoize, - argsMemoize: lruMemoize + argsMemoize: lruMemoize, }).withTypes() const selector = createSelector( @@ -436,8 +436,8 @@ describe(lruMemoize, () => { state => state, { argsMemoizeOptions: { maxSize: 10 }, - memoizeOptions: { maxSize: 10 } - } + memoizeOptions: { maxSize: 10 }, + }, ) const firstResult = selector(state, 0) diff --git a/website/docs/introduction/getting-started.mdx b/website/docs/introduction/getting-started.mdx index 9f71f310b..9615e9571 100644 --- a/website/docs/introduction/getting-started.mdx +++ b/website/docs/introduction/getting-started.mdx @@ -165,14 +165,15 @@ In addition to skipping unnecessary recalculations, `memoizedSelectCompletedTodo ## Terminology - Selector Function} /> - : A function that accepts one or more JavaScript values as arguments, and derives - a result. When used with , the first argument is typically - the entire Redux store state. + : A function that accepts one or more JavaScript values as arguments, and + derives a result. When used with , the first argument + is typically the entire Redux store state. - Input Selectors} /> - : Basic selector functions used as building blocks for creating a memoized selector. - They are passed as the first argument(s) to , and - are called with all selector arguments. They are responsible for extracting and - providing necessary values to the . + : Basic selector functions used as building blocks for creating a memoized + selector. They are passed as the first argument(s) to + , and are called with all selector arguments. They are responsible for + extracting and providing necessary values to the + . - Output Selector} /> : The actual memoized selectors created by . - Result Function} />