Last active
August 29, 2015 14:24
-
-
Save thiagofm/f736826b4b0a45f06a20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; I have this atom inside db.cljs | |
(defonce app-db (atom {})) | |
; This cursor fn | |
(defn character-maps [] | |
(reagent/cursor app-db [:character-maps])) | |
; When I do | |
(add-watch (db/character-maps) :watch-change update-done) | |
; update-done is never called. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment