You can't use React hooks in Reagent components: https://github.com/reagent-project/reagent/blob/master/doc/ReactFeatures.md#hooks
that doc has an example on how to work around it
@jpsoares106 https://github.com/reagent-project/reagent/blob/master/doc/ReactFeatures.md#hooks
:>
can used as a workaround for now. Next Reagent version will make this easier.
I'm using :>
and it doesn't work https://github.com/JpOnline/t1-error/blob/f7f496dae85963c9c5b765ab803d11d01c9ae91d/src/t1/main.cljs#L18