    (fn [get-initial-state-fn]
      (fn []
        (this-as this
-         (let [initial-props (expand-props this (.. this -props -cljs$props))
+         (let [initial-props (expand-props this (aget this "props" "cljs$props"))
                initial-state (merge (when get-initial-state-fn (get-initial-state-fn this initial-props))
                                     (initial-subscription-data this initial-props))]
            (d/transact! db [{:id         this
                              :props      initial-props
                              :view-id    (or (:view-id initial-props) (:id initial-props))
-                             :children   (.. this -props -cljs$children)
+                             :children   (aget this "props" "cljs$children")
                              :state      initial-state
                              :prev-state initial-state}])))))
 

                    :prev-props :props)))

(defn children [this]
  (d/get @db this :children))

(defn state [this]

   (fn [f]
     (fn []
       (this-as this
         (binding [*trigger-state-render* false]
           (end-subscriptions this (props this))
           (when f (f this))
           (d/transact! db [[:db/retract-entity this]])))))

   "componentWillReceiveState"
   (fn [f]
     (fn []
       (this-as this
         (let [props (d/get @db this :props)]
           (binding [*trigger-state-render* false]
             (update-subscriptions this props props))
           (when f
             (f this
                props
