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.
[ Parent
| on HN ]
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.