keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
sooheon 2018-04-16T06:29:38.000120Z

@mihaelkonjevic I seem to remember that somewhere in the app-db, there was information about which datasources had requests pending, is this true? I’d want this to put up loading indicators, for example.

sooheon 2018-04-16T06:30:18.000177Z

Right now, I check if the subscription is nil, for example, but when the data changes, I see no indication until it has fully changed.

mihaelkonjevic 2018-04-16T06:34:30.000258Z

@sooheon dataloder exports two subscriptions for each data source, e.g. users and users-meta. You can use the meta subscription to check the status. Check here: https://github.com/gothinkster/clojurescript-keechma-realworld-example-app/blob/6726e13e5b5e453ff3b99d57c9400214485c24a2/src/cljs/realworld/ui/components/articles.cljs#L46

sooheon 2018-04-16T06:35:30.000188Z

Awesome, I knew this was the kind of thing Keechma would provide. Thanks!