Fork me on GitHub
#reagent
<
2020-10-17
>
Ian Fernandez19:10:20

there's some tutorial on how to use a component that has hooks interaction with reagent?

Ian Fernandez19:10:46

(defn app []
  [:> clippy/ClippyProvider
   {:agentName (.-LINKS clippy/AGENTS)}
   [:> rnf/Button
    {:style   {:maxWidth "250px"}
     :onClick (fn []
                (.play (clippy/useClippy) "Wave"))}
    "playClippy"]]
  )

(defn init []
  [:<>
   [app]])
I've made this

Ian Fernandez19:10:59

and browser is returning me this error here

Ian Fernandez19:10:30

someone knows how to fix this?