0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 18:48:37 -05:00

Add TODO note on page-persisted event.

This commit is contained in:
Andrey Antukh 2016-12-18 19:43:01 +01:00
parent c40b4be975
commit 63576ae4f1
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -173,6 +173,9 @@
(defrecord PagePersisted [data]
ptk/UpdateEvent
(update [_ state]
;; TODO: update only the version instead of complete unpacking
;; this will improve the application responsiveness when multiple
;; updates are performed
(assoc-page state data)))
(defn- page-persisted?