News for hackers. Stuff that matters.
Re:Luminus – A Clojure Web Framework by blain_the_train on Tuesday April 14, 2020 @09:30AM (#22865671)
Reagent and rum both wrap react right? Do they mirror the react hook logic in some way? E.g rum/react might be a ones to one with reacts use state hook.
Re:Luminus – A Clojure Web Framework by jwr on Wednesday April 15, 2020 @05:57AM (#22876049)
Yes, Reagent and Rum are both wrappers around React.

I think React hooks arrived much later and from what I've read about them, they solve a problem that does not exist in Clojure/ClojureScript.

`rum/react` lets your components auto-update when an atom changes.