reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
arttuka 2020-04-24T06:23:29.233200Z

You can't use React hooks in Reagent components: https://github.com/reagent-project/reagent/blob/master/doc/ReactFeatures.md#hooks

arttuka 2020-04-24T06:23:53.233500Z

that doc has an example on how to work around it

juhoteperi 2020-04-24T15:19:13.235500Z

:> can used as a workaround for now. Next Reagent version will make this easier.

Jp Soares 2020-04-24T15:21:00.235800Z

I'm using :> and it doesn't work https://github.com/JpOnline/t1-error/blob/f7f496dae85963c9c5b765ab803d11d01c9ae91d/src/t1/main.cljs#L18