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
Ivan Fedorov 2020-11-02T12:00:05.281700Z

Putting it simply: do you ever use subscriptions to then put something back to the app-db?

Ivan Fedorov 2020-11-05T19:54:24.287100Z

@isak good tip, thanks a lot! However, this doesn’t use awesome caching things like subs [supposedly] do.

✔️ 1
Ivan Fedorov 2020-11-05T19:56:25.287300Z

@lukas.rychtecky Thanks! Yeah, I’m hesitant also, but still – I don’t see negative scenarios yet. Apart from “shooting myself in the foot”. I agree that it’s an anti-pattern, for sure.

👍 1
lukas.rychtecky 2020-11-02T14:02:21.282200Z

IMO you shouldn’t. Subs are “views” above the data. Only event handlers should change the app-db.

isak 2020-11-02T15:16:55.282500Z

No, that is what interceptors are for. See the built-in on-changes interceptor, for example.