reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
v 2020-05-10T18:32:28.421300Z

Hello whats the difference between reagent.core/atom vs reagent.ratom/atom ?

lilactown 2020-05-10T18:36:22.421600Z

they're the same

v 2020-05-10T18:40:47.422Z

@lilactown Thank you for the quick response 🙂

2020-05-10T23:44:18.422400Z

@vishal.gautam just to be clear, they act the same. So, generally speaking, you use a ratom as you would an atom. But they are different under the covers.

2020-05-10T23:47:23.424100Z

ratoms gain special powers within Reagent Components (which normal atoms don't have). viz. If a ratom is changed (`swap!`, etc), any Components which use them are re-rendered