This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-10
Channels
- # announcements (4)
- # babashka (29)
- # beginners (15)
- # calva (4)
- # cljs-dev (1)
- # clojure (28)
- # clojure-dev (13)
- # clojure-europe (3)
- # clojure-india (1)
- # clojure-spec (7)
- # clojure-uk (5)
- # clojurescript (37)
- # component (2)
- # conjure (60)
- # cursive (2)
- # datomic (1)
- # emacs (1)
- # figwheel-main (18)
- # fulcro (38)
- # graalvm (6)
- # graphql (13)
- # helix (14)
- # jobs-discuss (1)
- # joker (5)
- # lein-figwheel (2)
- # nrepl (3)
- # off-topic (15)
- # other-languages (1)
- # other-lisps (1)
- # pedestal (2)
- # reagent (8)
- # reitit (44)
- # shadow-cljs (83)
- # slack-help (8)
- # spacemacs (1)
Hello whats the difference between reagent.core/atom
vs reagent.ratom/atom
?
@U4YGF4NGM Thank you for the quick response 🙂
@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.
Uggh. Sorry
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