reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
2020-12-24T05:17:55.424200Z

I would switch to it to reuse new packages in JS land.

p-himik 2020-12-24T08:46:30.424400Z

If those packages don't require their users to use hooks then you can use them as is with no problems.

juhoteperi 2020-12-24T09:10:42.424600Z

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.

juhoteperi 2020-12-24T09:12:38.424800Z

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...)

2020-12-24T14:35:27.425Z

Do you think it might be interesting to have a quick example in the doc of interactoin with helix?

2020-12-24T14:39:11.425200Z

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?