This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-22
Channels
- # alda (1)
- # aws-lambda (23)
- # beginners (27)
- # boot (156)
- # business (2)
- # carry (4)
- # cider (1)
- # cljsjs (2)
- # cljsrn (29)
- # clojure (170)
- # clojure-austin (35)
- # clojure-czech (8)
- # clojure-dusseldorf (5)
- # clojure-italy (4)
- # clojure-nl (1)
- # clojure-quebec (2)
- # clojure-russia (45)
- # clojure-spec (49)
- # clojure-uk (12)
- # clojurescript (81)
- # component (5)
- # datomic (24)
- # devcards (26)
- # emacs (4)
- # hoplon (4)
- # jobs (1)
- # juxt (5)
- # leiningen (6)
- # luminus (14)
- # mount (26)
- # om (27)
- # om-next (2)
- # onyx (22)
- # pedestal (2)
- # planck (3)
- # proton (5)
- # re-frame (19)
- # reagent (2)
- # ring-swagger (60)
- # spacemacs (12)
- # specter (8)
- # untangled (119)
- # vim (61)
- # yada (36)
Most of my apps components use core.async for non-ui stuff (E.g. the USB interface, NodeJS IO) and it does the job great. How do you build your decoupled libraries that do a bunch of async stuff? Do you just use callbacks (like cljs-ajax) and then dispatch
on them?
Nothing wrong with that if it works for you, just that you can go a long way without core async
Another question, can I use async code in coeffects
, or is that not really the purpose?
What is the idiomatic way of making handlers change their behaviour in response to events and/or over (wall clock) time? clear-handlers
and register a new one?
@kalouantonis: promise monads work great for us for async
Hello, I'm trying to add some spec on my project like in the todomvc reframe example. I don't know how to deal with namespace-qualified keywords and I don't understand how the new todos are valid where as my code complains about key beeing not present because I use non namespace-qualified keyword everywhere
Is there a way to get the current state of the db, but outside a component & outside handler/subs..? I realize that the question is probably silly, but assume that its required for some valid introspective reasons.. 🙂
@cdine @re-frame.db/app-db
? not for use in code, only for debugging/REPL.
@cdine There is a comment in that file:
;; Should not be accessed directly by application code.
;; Read access goes through subscriptions.
;; Updates via event handlers.
@cdine not a silly question at all, I often do this at a REPL
@danielcompton that makes me feel better..
yep often do it in a REPL just recommend not putting this into application code :thumbsup: @cdine @danielcompton
I just noticed this file in the docs too which looks interesting, I didn’t know it existed either until just now 🙂 https://github.com/Day8/re-frame/blob/master/docs/FAQs/Inspecting-app-db.md @cdine @danielcompton
@andre have you released re-frisk yet I would like to try it out
I think its very new, I missed it too @cdine