This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (2)
- # aws (3)
- # beginners (25)
- # boot (7)
- # cider (27)
- # cljs-dev (30)
- # clojure (106)
- # clojure-boston (1)
- # clojure-czech (3)
- # clojure-dev (3)
- # clojure-estonia (1)
- # clojure-italy (1)
- # clojure-russia (11)
- # clojure-uk (3)
- # clojurescript (83)
- # clojurex (1)
- # datascript (1)
- # datomic (21)
- # docs (7)
- # funcool (1)
- # hoplon (8)
- # jobs (2)
- # ldnclj (9)
- # leiningen (6)
- # om (6)
- # onyx (29)
- # re-frame (41)
- # reagent (64)
- # spacemacs (2)
- # test200 (1)
@escherize: yes, I certainly remembering trying to understand Flux when working on re-frame, so it would have had some influence for sure. But I seem to remember that Flux was a bit different back then -- it has evolved a bit, I think. Certainly it is better documented now 😉 But how much of an influence it had on re-frame I just don't remember. I seem to remember that the notion of
subscribe came to me when reading the OM advanced tutorial. Other stuff came from Elm (pre their official Architecture docs). Other stuff from pedistal-app It is a dog's breakfast of influences but Flux was in there.
@escherize do you still have the link to the talk?
As I understand it, redux post-dates re-frame.
Yeah, could well be the inspiration as the author quotes figwheel working so well as his motivations for making react hot reload
i was able to pinpoint the source of the endless subscription loop , to the use of klang.macros , specifically this code :
if the klng debug line is uncommented the code goes into an endless loop of triggering either the subscription or the internal function
@shaym: No wonder it was so hard to track down. Yikes.
in one of my handlers app-state (first arg) is [object Object] has anayone seen something similar ?
Uncaught Error: No protocol method IAssociative.-assoc defined for type object: [object Object]
hey guys, lets say I have a subscription to which I pass an argument and then use this argument to get data from a store and build reactions from it. Is it possible to trigger subscription if the value of this argument changes (lets say parent component passes something to a child one, which subscribes to something passing the argument)?
ivanbokii: you can place the arg in the db , and then create the reaction based on the arg in the db , and then update the value in the db
@shaym it's like you need to save something just because it's used as a parameter in queries, but does not represent any value in terms of data
ivanbokii: true , but you can also do it via a resubscribe , but i havent used that option yet
the assoc-in is actually an assoc , which results in Error: No protocol method IAssociative.-assoc defined for type object: [object Object]
@ivanbokii: that sounds like dynamic subscriptions? https://github.com/Day8/re-frame/pull/108
@danielcompton: yes, exactly! Is it going to be merged any time soon?
bit busy with other things at the moment, though there’s nothing stopping you checking out the branch and installing it yourself