Closed tinaszheng closed 2 years ago
We were noticing that the return value from useSingleCallResult was a new array object on every render. This was essentially passing a new [inputs] array object on every render, making the downstream useMemo calls obsolete.
useSingleCallResult
[inputs]
useMemo
omg
lol
We were noticing that the return value from
useSingleCallResult
was a new array object on every render. This was essentially passing a new[inputs]
array object on every render, making the downstreamuseMemo
calls obsolete.