Duplication issue with reg-event-db
Same problem as with reg-event-fx
This commit is contained in:
parent
8ec5405106
commit
b84afb9db3
|
@ -174,7 +174,7 @@ you write a custom registration function -- a replacement for `reg-event-db` --
|
|||
```clj
|
||||
(defn my-reg-event-db ;; alternative to reg-event-db
|
||||
([id handler-fn]
|
||||
(my-reg-event-db id standard-interceptors handler-fn))
|
||||
(re-frame.core/reg-event-db id standard-interceptors handler-fn))
|
||||
([id interceptors handler-fn]
|
||||
(re-frame.core/reg-event-db
|
||||
id
|
||||
|
|
Loading…
Reference in New Issue