reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
Eliraz 2020-06-07T13:06:15.073700Z

how would you go about render props in reagent?

lilactown 2020-06-07T16:10:54.075800Z

if you're doing interop with a 3rd party component that uses child-as-function prop:

(defn my-component []
  [:> LibComponent
   (fn [x]
     (r/as-element [:div "doing something with x:" (pr-str x)]))])