This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-14
Channels
- # admin-announcements (2)
- # beginners (8)
- # boot (75)
- # clara (2)
- # cljs-dev (3)
- # cljsjs (39)
- # cljsrn (1)
- # clojure (75)
- # clojure-brasil (3)
- # clojure-dusseldorf (13)
- # clojure-gamedev (1)
- # clojure-mexico (1)
- # clojure-quebec (5)
- # clojure-russia (30)
- # clojure-sg (3)
- # clojure-spec (25)
- # clojure-uk (65)
- # clojurescript (36)
- # core-async (1)
- # cursive (15)
- # data-science (6)
- # datomic (38)
- # devcards (29)
- # editors (1)
- # emacs (11)
- # funcool (6)
- # hoplon (43)
- # immutant (48)
- # lambdaisland (2)
- # leiningen (9)
- # mental-health (4)
- # mount (1)
- # numerical-computing (1)
- # off-topic (4)
- # om (19)
- # onyx (1)
- # pedestal (1)
- # proton (1)
- # re-frame (21)
- # reagent (1)
- # specter (8)
- # sql (3)
- # testing (14)
- # untangled (9)
- # yada (31)
@vikeri Not sure I get what you need. The easy answer: use js/setInterval
(or a core.async loop) to dispatch
, on the handler you modify what you want from your app-db... and define a subscription to read from it
@dobladez: I am using the current date (without time of day) in a lot of places and if the app is not closed and then opened the day after it shows weird stuff. I donβt want to continuosly poll the date and update it in my atom when it changes, but maybe that is what I will have to do.
may be you can calculate how much time is left till the next date change, and schedule a call to update at that point
anyway, I don't see anything wrong with having a dispatch that updates every minute or so
True, just thought that there would be some slightly fancier FRP way of doing it automatically
Hello channel π Was there a lib to print a page with a nicely formatted re-frame.db/app-db
somewhere?
@richiardiandrea: options: https://github.com/Day8/re-frame/wiki/FAQ#5-how-can-i-inspect-app-db
@mikethompson: i saw a youtube video awhile back where some dude had a very nicely CSS'd tree-style interface for the atom
yeah that would be neat
Perhaps Yogthos' library? See my link above.
but cool indeed