all-args-stringified
v1.1.0
Published
Stringify all args as a resolver for memoization functions.
Downloads
10
Readme
Stringify all args as a resolver for memoization functions. Useful if you have more than one function, and one of them is an object. Works even if the arguments are functions!
#Usage:
import 'allArgsStringified' from 'all-args-stringified'
import 'memoize' from 'lodash.memoize'
export default memoize ((arg1, arg2) => arg1 + arg2Object, allArgsStringified)