Fork me on GitHub
#datascript
<
2016-01-28
>
bbss03:01:20

@simonb: another Shanghai clojure person? 😄

bbss03:01:10

also just did an app that I might be expanding a bit into some kind of product using om next and datascript.

bbss03:01:55

I love being able to throw the (om/get-query x) straight into datascript pull. But I am displaying dates that are on keys deep in the query. I want to update them so that means re-reading the deep key via core async or so I think.

bbss03:01:29

But since I read the key of the root only I wold need to retrigger the whole query, which is not quite elegant, still thinking about how to solve that. Although this would be a question better asked in #C06DT2YSY

simonb05:01:36

@bbss Hi. Yes. In Shanghai. Not really sure about your issue without seeing code. But if you're updating/mutating a thing in the db the components referencing that part should update automatically. You trigger this by specifying the keys to re-read in the mutate call. Probably more appropriate for #C06DT2YSY.

bbss06:01:07

Yeah. Not mutating is the problem, I just want to read a date in a nice format. I guess I need to put some timer in the propsDidUpdate or so.