React-like hooks for reagent

A while ago i say this interesting post right here on clojureverse

This, coupled with some talks by Dan Abramov (you know the one :stuck_out_tongue:) inspired me to give react-hooks a try…

Sadly raw react hooks don’t work in reagent, but with a bit cleverness something very similar can be done :slight_smile:

After giving it a few tries (see the post i ref earlier) and using this style of hooks for a bit at work i decided to publish a little library in hopes that it would help others (understand the basics of react-hooks if not for actual use)

Hope it’s useful to somebody… i know it is for me :slight_smile:

Any thoughts or comments would be appreciated…


1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.