In the Kit #clojurescript Docs, under the Reagent header, this is stated:
Finally, rendering components is accomplished by calling the render-component function:
(defn render-simple [] (reagent/render-component [input-field] (.-body js/document))
reagent.core/render-component does not exist in Reagent 1.1.1 (the version used in the Kit docs), or in Reagent 1.2.0. The function used to render a react component onto the DOM is reagent.dom/render. (reagent.core/render is depreciated.)
In the Kit #clojurescript Docs, under the Reagent header, this is stated:
reagent.core/render-component
does not exist in Reagent 1.1.1 (the version used in the Kit docs), or in Reagent 1.2.0. The function used to render a react component onto the DOM isreagent.dom/render
. (reagent.core/render
is depreciated.)