        (some? (.' c :cljsReactClass))))
 
 (defn do-render-sub [c]
-  (let [f (.' c :cljsRender)
+  (let [f (.' c :reagentRender)
         _ (assert (ifn? f))
         p (.' c :props)
-        res (if (nil? (.' c :reagentRender))
+        res (if (true? (.' c :cljsLegacyRender))
               (f c)
               (let [argv (.' p :argv)
                     n (count argv)]

      (this-as c (apply f c args)))
    f))

(def dont-wrap #{:cljsRender :render :reagentRender :cljsName})

(defn dont-bind [f]
  (if (fn? f)

                  (fn [& args]
                    (as-element (apply vector res args)))
                  res)]
          (.! c :reagentRender f)
          (recur c))
        res))))

