🚧 Experimenting with some performance improvements.

This commit is contained in:
Andrey Antukh 2019-09-20 17:30:03 +02:00
parent 31ffa73bda
commit 4cf7a48567
16 changed files with 299 additions and 267 deletions

View file

@ -56,10 +56,7 @@
(defn show
[data]
(reify
ptk/EventType
(type [_] ::show)
(ptk/reify ::show
ptk/UpdateEvent
(update [_ state]
(let [message (assoc data :state :visible)]

View file

@ -54,6 +54,7 @@
(s/def ::inst inst?)
(s/def ::keyword keyword?)
(s/def ::fn fn?)
(s/def ::set set?)
(s/def ::coll coll?)
(s/def ::not-empty-string