diff --git a/src/uxbox/rstore.cljs b/src/uxbox/rstore.cljs index fb160e7d7..74f2cb12a 100644 --- a/src/uxbox/rstore.cljs +++ b/src/uxbox/rstore.cljs @@ -44,6 +44,11 @@ [e] (satisfies? EffectEvent e)) +(extend-protocol UpdateEvent + function + (-apply-update [func state] + (func state))) + (defonce bus (rx/bus)) (defn emit!