Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro / Mini / Map Memo

A much much simpler memorizing utility

Usage

import memo from '@avcs/memo';

const memorizedFunction = memo(originalFunction, { onlyOnce?: boolean })

// optionally you can do this
memorizedFunction.reset()

Features

  1. Supports any number of arguments
  2. Arguments and return values can be literally anything and everything
  3. Works by reference, so does not support different objects/arrays/functions with same values

About

Micro / Mini / Map Memo

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages