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
Oliver George 2020-10-30T02:17:55.268200Z

Wondering if there's a common pattern for an interceptor which stops a handler from being called

Oliver George 2020-10-30T02:18:37.268800Z

Looks like you could empty the :queue from the context... something like that perhaps.

2020-10-30T06:44:57.269400Z

@olivergeorge I've never used the technique. But certainly possible as you say.

1👍
p-himik 2020-10-30T10:35:52.270600Z

An idea - when -deref is called on a sub somewhere where reagent.ratom/reactive? is false, it should issue a descriptive warning, maybe with a link to the relevant documentation entry. What do you think?

1👍
p-himik 2020-10-30T10:36:20.271200Z

(I'm assuming my understanding of what reagent.ratom/reactive? checks for is correct)

Lucy Wang 2020-10-30T10:55:49.272500Z

+1, to ensure the deref of a subscription is always inside a reagent component. There should also be a way to opt out of that.

borkdude 2020-10-30T23:03:05.273500Z

Find re-frame events and subscriptions easily => https://github.com/borkdude/grasp#finding-keywords

6👍1👀