This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # architecture (9)
- # beginners (90)
- # cider (98)
- # cljs-dev (23)
- # cljsrn (4)
- # clojure (101)
- # clojure-brasil (3)
- # clojure-dev (48)
- # clojure-italy (15)
- # clojure-losangeles (3)
- # clojure-russia (12)
- # clojure-uk (17)
- # clojured (1)
- # clojurescript (141)
- # community-development (15)
- # core-async (1)
- # datascript (12)
- # datomic (18)
- # docker (3)
- # emacs (1)
- # events (1)
- # figwheel (1)
- # fulcro (57)
- # graphql (4)
- # jobs (1)
- # lein-figwheel (1)
- # leiningen (1)
- # lumo (1)
- # off-topic (68)
- # om (9)
- # om-next (3)
- # onyx (4)
- # parinfer (6)
- # pedestal (14)
- # portkey (2)
- # proton (1)
- # protorepl (19)
- # re-frame (57)
- # reagent (46)
- # ring-swagger (12)
- # shadow-cljs (167)
- # slack-help (5)
- # specter (18)
- # sql (1)
- # uncomplicate (3)
- # unrepl (1)
As I see, dispatch-n is a doseq dispatch. How about side effects? Do it control concurency at ALL?
@fabrao can you explain your question further? re-frame processes events in the order they are received, and runs all fx synchronously (of course an fx can itself make an async action)
@feihong.hsu can you share a snippet that shows what you're doing in your click handler and what you're doing in your effect handler?
@seako click handler: https://github.com/feihong/re-frame-quickstart/blob/master/src/cljs/quickstart/views.cljs#L105 effect handler: https://github.com/feihong/re-frame-quickstart/blob/master/src/cljs/quickstart/events.cljs#L130
i tried to start this project with
lein figwheel but when i point my browser at localhost it renders the figwheel 404
nothing is popping out at me just glancing at the code. i think if i were able to poke around in the running application i might be able to find something.
@seako i also tried creating a much simpler project to try to isolate the problem, but unfortunately, everything works fine. so there is something else going on.
@feihong.hsu Sorry for not addressing the question you're actually asking (not very familiar with the speechSynthesis api), but regarding your comment
; Is there a way to turn this into a pure function? in your code:
The answer is
It is really a weird question, but has anyone experienced a subscription constantly returning a
#<Reaction : nil> at the cljs-repl?
> Improve cache eviction behaviour of subscription caches. In more complex applications a subscription may have been unnecessarily created and destroyed several times after a Figwheel re-render.
I did find the line above in the changelog so I upgraded re-frame but issue still seems to persist...
If you simply want to see what value it currently has, then re-frame-10x is what you neeed
running subscriptions in the repl is very helpful though...I wouldn't dismiss the idea 🙂
js/console.log the result of a subscription and you have
cljs-devtools installed/enabled, you can interactively explore the data in the console btw
I did have to disable it after finding that it somehow makes the React components stop working in weird ways, but good stuff non the less!
@iku000888 I'd be keen to get a more specific bug report for any problems you encountered
and the thing that stopped working was http://blueprintjs.com/docs/v1/#datetime/daterangeinput
@iku000888 so just to be clear, you are saying that this React component stopped working when you inistalled
re-frame-10x or it stopped working when you started tracing with
And when you say it stopped working, can you be more specific? What should we look for?
Thanks for your patience. installing(regardless of tracing/not) re-frame-10x itself caused the react component under question to stop working
and yeah I would love to give a nice isolated repro but this project uses a rather non trivial set up with webpack etc...
Also did you follow https://github.com/Day8/re-frame-10x#important-prerequisites?
> and by stop working, I mean I cannot get rid of the pop out once visible Which popout? the re-frame-10x panel or your date one?