there's some tutorial on how to use a component that has hooks interaction with reagent?
https://github.com/React95/React95/tree/master/packages/clippy I can't make a button for clippy like this
(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 thisand browser is returning me this error here
someone knows how to fix this?
https://github.com/reagent-project/reagent/blob/master/doc/ReactFeatures.md#function-components