 (defn as-element [x]
   (js/reagent.impl.template.as-element x))
 
+
 ;;; Rendering
 
 (defn reagent-class? [c]

    :componentWillReceiveProps
    (fn [props]
      (this-as c
               (f c (.' props :argv))))

    :shouldComponentUpdate
    (fn [nextprops nextstate]

    :componentWillUpdate
    (fn [nextprops]
      (this-as c
               (f c (props-argv nextprops))))

    :componentDidUpdate
    (fn [oldprops]
      (this-as c
               (f c (props-argv oldprops))))

    :componentWillMount
    (fn []
