reaction vs direct use of the ratom #703
Unanswered
ShayMatasaro
asked this question in
Q&A
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The two best place to ask questions are:
|
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
-
Hi,
Thanks for the great article.
What is the advantage of using a reaction over a direct access to the ratom, for example why is :
[:div (reaction (:a @App-DB))]
better then :
[:div (:a @App-DB)]
Either way when app-db changes it will trigger an evaluation of of the div .
Is there a better place to post questions ? are you on IRC/chat?
Cheers,
Shay
Beta Was this translation helpful? Give feedback.
All reactions