Skip to content

Instantly share code, notes, and snippets.

@qbg
qbg / core.cljs
Created February 27, 2014 18:09
Breaking React change
(ns om-tut.core
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]))
(enable-console-print!)
(def app-state (atom {:text "Works", :data {:text "Doesn't"}}))
(defn liker
[data owner]
@qbg
qbg / core.clj
Last active August 29, 2015 13:56
Potential dom/input weirdness in Om 0.5.0
(ns test.core
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]))
(enable-console-print!)
(def app-state (atom {:a 1}))
(defn demo
[app owner]