This commit is contained in:
Daniel Compton 2018-02-12 07:16:41 +13:00
parent 307979b4a7
commit 3bf93d81fb
2 changed files with 11 additions and 6 deletions

View File

@ -5,7 +5,10 @@
;; Use this namespace with the :preloads compiler option to perform the necessary setup for enabling tracing:
;; {:compiler {:preloads [day8.re-frame.trace.preload] ...}}
(defonce _
(do
(rf/clear-subscription-cache!)
(trace/init-db!)
(defonce _ (trace/init-tracing!))
(trace/inject-devtools!)
(trace/inject-devtools!)))

View File

@ -474,11 +474,13 @@
(assoc sub :previous-value (:previous-value state))
sub)]
sub)))
(sort-by :order sub-sort-val) ;; Also sort by subscription-id
#_(sort-by :path))]
#_(sort-by :order sub-sort-val) ;; Also sort by subscription-id
(sort-by :path))]
subx))
(rf/reg-sub
:subs/pre-epoch-state
:<- [:subs/current-epoch-sub-state]