Created
January 13, 2022 11:52
-
-
Save LarryKarani/66cfe9df9c4cbf5476bba646c8998a0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import memoize from "lodash.meoize"; | |
const MyFunction = (age) => { | |
return `Your are ${age} years old!` | |
} | |
const MyMemoizedFunction = memoize(MyFunction) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment