re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
az 2021-02-18T07:15:40.158900Z

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.

p-himik 2021-02-18T09:01:12.159300Z

If I understand your intent correctly, it is possible and it's described in the docstring of reg-sub.

afleck 2021-02-18T14:11:15.161200Z

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

afleck 2021-02-18T14:11:23.161400Z

what about it doesn’t work?

az 2021-02-19T02:25:42.162200Z

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.

dazld 2021-02-18T10:28:29.160400Z

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.

dazld 2021-02-18T10:29:04.160500Z

if there isn't, then I may write up some notes once done with tinkering.

p-himik 2021-02-18T10:55:00.160700Z

I know only of this brief discussion: https://github.com/day8/re-frame/issues/105

dazld 2021-02-18T11:09:10.161Z

that is helpful, thank you @p-himik