This commit is contained in:
romankrru 2018-09-02 21:37:52 +03:00
parent c922757105
commit a1b857ba7a
1 changed files with 7 additions and 6 deletions

View File

@ -176,6 +176,7 @@ Reactions are what give `r/atom`, `r/cursor`, and function `r/cursor` and `r/wra
* `derefed` **TODO unclear**
Reactions are very useful when
* You need a way in which components only updates based on part of the ratom state. (reagent/cursor can also be used for this scenario)
* When you want to combine two `ratoms` and produce a result
* You want the component to use some transformed value of `ratom`