From a91214e434ffb447c68017c6cfc91b961401085d Mon Sep 17 00:00:00 2001 From: Dan Holmsand Date: Tue, 28 Jan 2014 20:19:10 +0100 Subject: [PATCH] Add next-tick as utility on core.cljs --- src/reagent/core.cljs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/reagent/core.cljs b/src/reagent/core.cljs index 68d4c8b..9a99e92 100644 --- a/src/reagent/core.cljs +++ b/src/reagent/core.cljs @@ -123,6 +123,9 @@ re-rendered." ;; Utilities +(defn next-tick [f] + (comp/next-tick f)) + (defn partial "Works just like clojure.core/partial, except that it is an IFn, and the result can be compared with ="