From ea0b445f749f0b925241781593c0d8fcfc7ab297 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Thu, 19 May 2022 14:01:21 -0500 Subject: [PATCH] Add comment about memoization --- helpers/api/kind.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpers/api/kind.js b/helpers/api/kind.js index 028a196..83fff98 100644 --- a/helpers/api/kind.js +++ b/helpers/api/kind.js @@ -22,6 +22,8 @@ function makeKindFilePath ({ kindSlug, number }) { return `${ apiDirectory }${ makeKindEndpoint({ kindSlug, number }) }.json` } + +// This may provide better performance via memoization export class KindList extends PaginatedList { constructor({ list,