I would switch to it to reuse new packages in JS land.
If those packages don't require their users to use hooks then you can use them as is with no problems.
I should probably make this clearer somewhere in the docs: I think Reagent hooks support is currently useful for interop or "small use". A few hooks like useContext
, useLayoutEffect
could be quite useful used together with RAtoms. But if you want to use Hooks to store the app state and everything. Helix is probably better fit.
And :f>
can be used to make just certain components "functions components" so they work with hooks, no need to switch everything over.
(Yes, this is a bit backwards, you need to turn the component to function component on the use place, instead of where it is defined. I think I had some reason to do it like this...)
Do you think it might be interesting to have a quick example in the doc of interactoin with helix?
I am interested to use this library https://github.com/pmndrs/react-three-fiber and I believe the new functional components will be reallllyyy useful. Would you go with reagent of with helix?