       (merge class-props)
       (->> (util/filter-vals some?))
       (clj->js)
-      (js/React.createClass))))
-
+      (->> (gobj/extend (gobj/get ctor "prototype"))))
+    ctor))
 
 (defn- build-ctor [render mixins display-name]
   (let [class  (build-class render mixins display-name)

  (:require
    [cljsjs.react]
    [cljsjs.react.dom]
    [sablono.core]
    [rum.cursor :as cursor]
    [rum.util :as util :refer [collect collect* call-all]]



(defn- render-all [queue]
  (doseq [comp queue]
    (.forceUpdate comp)))


