Join Slack
Powered by
Would I be correct in explaining the `remember` fu...
# compose
p
pajatopmr
07/08/2020, 6:07 AM
Would I be correct in explaining the
remember
function as doing two things: 1) providing an initial value in performing a composition and 2) caching that value for subsequent compositions?
v
Vinay Gaba
07/08/2020, 6:59 AM
yes that is the right way to think about it. It calculates the value only during composition. Recomposition uses this cached value.
👍 1
a
Ankur Gupta
07/08/2020, 8:58 AM
https://www.youtube.com/watch?v=6BRlI5zfCCk
▾
🙏 1
Open in Slack
Previous
Next