 (defn render-component-to-string
   "Turns a component into an HTML string."
   ([component]
-     (.renderComponentToString React (tmpl/as-component component))))
+     (.renderComponentToString React (as-component component))))
 
 (defn create-class
   "Create a component, React style. Should be called with a map,

  [f & args]
  (util/partial-ifn. f args nil))



  (tmpl/create-class spec))


(defn current-component
  "Returns the current React component (a.k.a this) in a component
  function."
  []
  comp/*current-component*)


