Is there a way to create recursive reg-sub
calls? This code doesn’t work, but should give a sense of what I’m trying to accomplish.
If I understand your intent correctly, it is possible and it's described in the docstring of reg-sub
.
if I were doing this i would likely make a sub that subscribes the children, and then use that as part of the signals function
what about it doesn’t work?
Thanks @andrea_fleckenstein @p-himik, still trying to work through it. Basically I am just trying to figure out how to denormalize the store and I have relationships that are arbitrarily deep. Burrito -> Sauce -> Spice blend -> Salt & Pepper
I’ve been playing around with sub-raw to see if I can work through it. So far no luck. Will keep working through and come back once I have more progress.
morning! wondering if there's some prior art out there on integrating core async channels with re-frame? I can see a way through, but would be interested in reading code / articles if there's any out there.
if there isn't, then I may write up some notes once done with tinkering.
I know only of this brief discussion: https://github.com/day8/re-frame/issues/105
that is helpful, thank you @p-himik