We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584db84 commit b3eda5bCopy full SHA for b3eda5b
examples/flow/src/re_frame/flow/demo.cljs
@@ -64,11 +64,13 @@
64
65
(rfa/reg-flow error-state-flow)
66
67
-(rf/reg-event-fx
+;; Note: this uses the version of `reg-event-fx` from `re-frame.alpha`, not core.
68
+;; This is necesssary for the `:clear-flow` and `:reg-flow` effects to work.
69
+(rfa/reg-event-fx
70
::clear-flow-button-pressed
71
(fn [_ _] {:fx [[:clear-flow ::error-state]]}))
72
73
74
::reg-flow-button-pressed
75
(fn [_ _] {:fx [[:reg-flow error-state-flow]]}))
76
0 commit comments