Want this course?
Keep Events and Subscriptions Together
My recommendations for how to organize Events and Subscriptions, which often change together, so that they can be maintained for the long term.
Code is available: lispcast/understanding-re-frame
Code for this particular lesson is available at the
You can checkout the code in your local repo with this command:
$CMD git clone https://github.com/lispcast/understanding-re-frame.git $CMD cd understanding-re-frame $CMD git checkout -f 030
Calculations in Subscriptions
In this lesson, we learn to move our calculations from our components into Reactive Subscriptions. We don't want to store calculated values in the database, because that would de-normalize the data. We learn how calculated subscriptions are a solution to database de-normalization.