memoize

Understanding Lodash Memoize

I work on a team that has some really great developers. A few days ago in a PR review, I came across: const formatNumberFull = memoize(number => numeral(number).format("0,0")); Ummm... what? The Lodash docs gave me a little better understanding of what memoize does, but I didn't…