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
steveb8n 2020-11-17T22:15:04.338100Z

Q: I want to create custom db effects that are composable. Is there any prior art for how to do this?

steveb8n 2020-11-20T03:13:01.356200Z

fwiw I think I can achieve all of these goals using the new :fx guaranteed ordering feature. happy days

steveb8n 2020-11-17T22:16:13.338200Z

I want this because I want them de-coupled (compared to just composing fns which couples via a require)

steveb8n 2020-11-17T22:17:02.338400Z

but they need to compose e.g. http response handler calls a de-coupled util db effect and adds its own custom db transforms.

steveb8n 2020-11-17T22:17:53.338600Z

One idea would be to allow these effects to accept a seq of “decorator” fns along with its args

steveb8n 2020-11-17T22:18:04.338800Z

but I’m curious about other designs

steveb8n 2020-11-17T22:44:33.339Z

the perfect solution would allow composition of n db effects and some custom db transforms in an event handler output map