Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. These days I'm closely looking into the MobX doc. I have many questions.
Anyway...
AFAIK,
keepAlive
keepscomputed
values being cached even if they are not being observed, which meanscomputed
is always cached anywhere. ButrequiresReaction
... what is it?The doc says:
That means if I use
requiresReaction
then even if thecomputed
is not being observed(outside of the reactive context), it will returncomputed
. right?If yes, what is the difference between
requiresReaction
andkeepAlive
?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions