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
license: gpl-3.0 |
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
license: gpl-3.0 |
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
(ns om.repro.state-and-ref-cursors | |
(:require [om.core :as om :include-macros true] | |
[om.dom :as dom :include-macros true])) | |
(defonce app-state (atom {:foo {}})) | |
(defn animating-component [app owner] | |
(reify | |
om/IDidUpdate | |
(did-update [_ _ _] |
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
(ns explore-om.stalecursors | |
(:require-macros [cljs.core.async.macros :refer [go-loop]]) | |
(:require [om.core :as om :include-macros true] | |
[om.dom :as dom :include-macros true] | |
[cljs.core.async :refer [put! chan <!]])) | |
;;; | |
;;; Sample code from https://github.com/swannodette/om/wiki/Basic-Tutorial | |
;;; | |
(def app-state |