Fork me on GitHub

Hmmh. I think I had a similar setup and I haven’t noticed any slowness related to this, so sounds odd indeed! re-frame dispatch shouldn’t do anything else than add an event to the event queue, so that would suggest an event ordering issue, but you already checked that.


Have you tried the browser’s profiler to see what is happening? I usually use the one in Chrome. I’d record the action that has slowed down with and without the dispatch and try to compare the results to see if there’s anything suspicious.


Another thing that can go wrong with controllers is that they’re started too often (or too rarely, but that shouldn’t cause slow down). But you should see it in 10x if there are more controller start events than you thought.

👆 4