babashka / sci.configs

A collection of ready to be used SCI configs
https://babashka.org/sci.configs/
Other
20 stars 18 forks source link

reagent.core : misses: adapt-react-class #40

Closed awb99 closed 11 months ago

awb99 commented 11 months ago

From reagent.core the function adapt-react-class is missing in sci-config

https://github.com/reagent-project/reagent/blob/a14faba55e373000f8f93edfcfce0d1222f7e71a/src/reagent/core.cljs#L52

line 52:

(defn adapt-react-class
  "Returns an adapter for a native React class, that may be used
  just like a Reagent component function or class in Hiccup forms."
  [c]
  (assert-some c "Component")
  (tmpl/adapt-react-class c))```