This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-18
Channels
- # beginners (25)
- # boot (30)
- # cljs-dev (22)
- # cljsjs (2)
- # cljsrn (1)
- # clojars (4)
- # clojure (223)
- # clojure-boston (1)
- # clojure-dusseldorf (1)
- # clojure-gamedev (8)
- # clojure-italy (5)
- # clojure-russia (122)
- # clojure-sg (3)
- # clojure-spec (26)
- # clojure-uk (42)
- # clojurescript (69)
- # clojuresque (10)
- # core-async (25)
- # cursive (10)
- # datascript (5)
- # datomic (12)
- # emacs (18)
- # garden (1)
- # interop (1)
- # jobs (1)
- # jobs-discuss (10)
- # leiningen (2)
- # liberator (1)
- # lumo (21)
- # nyc (2)
- # off-topic (210)
- # om (11)
- # om-next (3)
- # onyx (1)
- # pedestal (6)
- # re-frame (10)
- # rum (9)
- # specter (38)
- # uncomplicate (1)
- # vim (23)
- # yada (22)
can anyone recommend some medium to large re-frame projects to learn from on github?
Check out the project @joshkh posted up above. Might not be the holy grail but it's a real world app that uses re-frame
there is already an sleep
fx
lib?
Some like {:db db :sleep {:time 10 :dispatch [:other-event "ok"]}}
(reg-fx
:sleep
(fn [{:keys [time event]]
(js/setTimeout #(dispatch event) time)))
@souenzzo see :dispatch-later at https://github.com/Day8/re-frame/blob/master/docs/Effects.md#builtin-effect-handlers
Thanks @thegeez thats builtin 😄. @savelichalex i'm trying to remove these side-effect functions from my code...
so I am going to have a bunch of newbie questions. I have been kicking around the re-frame vs. om.next question for a while, and re-frame just seems better documented and supported (I hope). Not hating on om.next but as a guy coming back to clojure after a lengthy hiatus, re-frame seems more approachable.
Can anyone point me to some resources for testing re-frame in an electron app? First attempt at doo + devcards via Phantomjs was an exercise in futility...
ran into this - https://github.com/bensu/doo/issues/131 among others