mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add comment about memoization
This commit is contained in:
parent
05b0e97dce
commit
ea0b445f74
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ function makeKindFilePath ({ kindSlug, number }) {
|
||||||
return `${ apiDirectory }${ makeKindEndpoint({ kindSlug, number }) }.json`
|
return `${ apiDirectory }${ makeKindEndpoint({ kindSlug, number }) }.json`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// This may provide better performance via memoization
|
||||||
export class KindList extends PaginatedList {
|
export class KindList extends PaginatedList {
|
||||||
constructor({
|
constructor({
|
||||||
list,
|
list,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue