Hi folks, I wanted to understand how helix implements forwardRef as in defnc's doc, but I failed to find a declaration of React.forwardRef. I want to port this component https://github.com/radix-ui/design-system/blob/master/components/Heading.tsx to helix/cljs
@geraldodev you can just use react/forwardRef
(ns my-app.feature
(:require
["react" :as react]
[helix.core :refer [defnc]]))
(defnc my-component
[props ref]
{:wrap [(react/forwardRef)]}
,,,)