This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-06
Channels
- # adventofcode (24)
- # aleph (1)
- # bangalore-clj (2)
- # beginners (196)
- # boot (148)
- # cider (18)
- # clara (83)
- # cljsrn (24)
- # clojure (210)
- # clojure-brasil (3)
- # clojure-china (1)
- # clojure-italy (11)
- # clojure-korea (8)
- # clojure-russia (82)
- # clojure-spec (115)
- # clojure-uk (130)
- # clojurescript (109)
- # core-async (7)
- # cryogen (1)
- # cursive (22)
- # datascript (11)
- # datomic (6)
- # devcards (2)
- # emacs (1)
- # garden (1)
- # hoplon (2)
- # incanter (1)
- # klipse (4)
- # luminus (4)
- # off-topic (89)
- # om (53)
- # onyx (78)
- # parinfer (9)
- # proton (3)
- # protorepl (20)
- # re-frame (107)
- # reagent (52)
- # rum (30)
- # spacemacs (1)
- # testing (3)
- # untangled (31)
- # vim (43)
- # yada (9)
Huh, thought there was something like that in the uxbox code but they seem to just use the private build-ctor
https://github.com/uxbox/uxbox/blob/94aee02fb922386d6e7d92631241dacfae1f71d5/frontend/src/uxbox/util/mixins.cljs#L20-L29
@pbaille yes, we are using the build-ctor in uxbox and would be awesome have it as public api /cc @tonsky
We define our own macros for define components, much more similar to the standard defn with metadata... in contrast to the rum's builtin macros 😉
yes that’s great, i’ve just look at your « component » function, and it really makes sense for me
@martinklepsch, i’ve made a bidirectional reaction ref type those days, since it is intended to be use in reactive rum components and somehow related to your derivatives lib, may I ask you if it make sense to you or not?
@pbaille bidirectional = read+write?
the thing with derivatives is that they cannot be swapped and propagate to the refs they are derived from, if I understand it
I see, that's what I mean with read+write
The read+write stuff might be handy in cases but I think many people have found that it leads to problems later down the road
@pbaille cursors are kind of similar I guess but I assume with your thing you can do more complex stuff than just get-in
@pbaille maybe this is interesting to you in this case https://github.com/funcool/lentes
Bit on the run right now so can't read and review your code in more detail but I'll try to remember to get back to it 🙂
@martinklepsch woaw lentes looks great! thank you