Fork me on GitHub
#re-frame
<
2018-02-24
>
feihong02:02:13

i did some more digging and i’m pretty sure that creating a re-frame project using lein new luminus demo +re-frame somehow causes extra callbacks to be triggered when you use re-frame.core/dispatch. the reason i know this is that window.speechSynthesis.speak() doesn’t work on mobile browsers if you don’t invoke it inside the original event handler function. but a project created using lein new re-frame demo doesn’t have this problem. so obviously the solution is to use the re-frame template instead, but i’m still curious as to what luminus might be doing wrong.

leira23:02:46

Is it possible to use re-frame without reagent/react back end? I mean, use it as general application frame work, but not render into webpages?

pablore16:02:14

You could use re-frame in the backend, using (web)sockets as events dispatchers for example

pablore17:02:11

Or with JavaFX