   [body]
   (assert (map? body))
   (let [spec (cljsify body)
-        res (.' js/React createClass spec)
-        f (fn [& args]
-            (warn "Calling the result of create-class as a function is "
-                  "deprecated in " (.' res :displayName) ". Use a vector "
-                  "instead.")
-            (as-element (apply vector res args)))]
-    (util/cache-react-class f res)
+        res (.' js/React createClass spec)]
     (util/cache-react-class res res)
-    f))
+    res))
 
 (defn component-path [c]
   (let [elem (some-> (or (some-> c


(defn add-render [fun-map render-f name]
  (let [fm (assoc fun-map
                  :cljsRender render-f
                  :render (:render static-fns))]
    (if (dev?)
      (assoc fm :cljsName (fn [] name))

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

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

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