               (this-as
                this
                (.call x this (assoc (default-arg-map this)
-                                    :prev-props (.-cljsProps prevProps)
+                                    :prev-props (.-cljs prevProps)
                                     :prev-state (.-cljs prevState)))))))
     (set! (. class-def -componentWillUnmount) (:component-will-unmount fn-map))
     (let [remaining-methods (apply dissoc fn-map react-component-api-method-keys)]

                ref (props :ref)
                key (props :key)
                props (dissoc props :ref :key)]
            (set! (.. js-props -cljsProps) props)
            (when ref (set! (.. js-props -ref) ref))
            (when key (set! (.. js-props -key) key))
            (apply React.createElement type js-props children)))))))

            (fn [nextProps]
              (this-as
               this
               (.call x this (assoc (default-arg-map this) :next-props (.-cljs nextProps)))))))
    (when-let [x (:should-component-update fn-map)]
      (set! (. class-def -shouldComponentUpdate)
            (fn [nextProps nextState]
              (this-as
               this
               (.call x this (assoc (default-arg-map this)
                                    :next-props (.-cljs nextProps)
                                    :next-state (.-cljs nextState)))))))
    (when-let [x (:component-will-update fn-map)]
      (set! (. class-def -componentWillUpdate)
