Ivan Fedorov 2020-11-02T11:59:04.280400Z

Thanks! @p-himik

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.

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.

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.

Endre Bakken Stovner 2020-11-02T18:09:12.282700Z

Thank you for bothering to reply! It is very kind of you 🙂

Endre Bakken Stovner 2020-11-02T18:09:29.282900Z

I have not had time to work on personal stuff until now, that is why no reply 🙂

Endre Bakken Stovner 2020-11-02T18:09:51.283100Z

You are absolutely correct about dev-config. I wonder why it is not checked in by default.