This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-25
Channels
- # aleph (15)
- # beginners (65)
- # boot (46)
- # chestnut (3)
- # cider (1)
- # clara (11)
- # cljs-dev (5)
- # cljsjs (4)
- # cljsrn (13)
- # clojure (180)
- # clojure-dev (2)
- # clojure-italy (10)
- # clojure-russia (62)
- # clojure-spec (6)
- # clojure-uk (85)
- # clojurescript (45)
- # community-development (11)
- # crypto (3)
- # cursive (10)
- # datomic (94)
- # defnpodcast (2)
- # fulcro (4)
- # heroku (1)
- # hoplon (4)
- # jobs (3)
- # juxt (10)
- # leiningen (1)
- # luminus (4)
- # mount (13)
- # music (1)
- # off-topic (10)
- # onyx (2)
- # portkey (15)
- # proton (2)
- # re-frame (16)
- # reagent (10)
- # shadow-cljs (194)
- # spacemacs (2)
- # specter (2)
@pesterhazy Thanks.
@p-himik is it not a case of doing when
in the body?
I’m not sure what you mean by “dispose”
In the context of reagent, I mean
@reefersleep when
would just skip doing something - it won't remove the reaction.
I mean reagent.ratom/IDisposable
which is implemented by reagent.ratom/Reaction
type.
That’s deeper territory than I’m comfortable with 🙂
But it sounds like you want to wrap the normal ratoms with ones with custom behavior… ?
Unless, like you proposed, it’s doable with the current API
It's doable. The only issue is that from the body function of a reaction I can't dispose of that reaction. So I have to create an external atom with such reaction. Either way, I found another solution for my problem, outside of Reagent. 🙂
That's great! 😄