Fork me on GitHub
#re-frame
<
2017-04-18
>
dfcarpenter01:04:43

can anyone recommend some medium to large re-frame projects to learn from on github?

benny02:04:59

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

souenzzo13:04:54

there is already an sleep fx lib? Some like {:db db :sleep {:time 10 :dispatch [:other-event "ok"]}}

savelichalex13:04:23

(reg-fx
 :sleep
 (fn [{:keys [time event]]
   (js/setTimeout #(dispatch event) time)))

souenzzo14:04:35

Thanks @thegeez thats builtin 😄. @savelichalex i'm trying to remove these side-effect functions from my code...

mikepence15:04:34

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.

souenzzo17:04:19

I also choose re-frame because of docs.

nrako16:04:34

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...