Daniel Compton

Results 361 comments of Daniel Compton
trafficstars

Debugging notes: * A minimal failing/succeeding case is using `dispatch-sync`/`dispatch` for `[::events/initialize-db]` on the re-frame template app. * Reordering the initial render call to come before the `dispatch-sync` works *...

This is an interesting question. There is the capability in cljs-ajax and goog.XhrIO to abort requests, the question is how to do this with re-frame. One possibility is that users...

This is a good idea, we've been considering adding a `:description` to interceptors which would let them provide a textual description of what they do for people to inspect.

If you clear all of your settings (`day8.re_frame_10x.trace.factory_reset_BANG_()`), on the next load it should show the window by default if everything is configured correctly. Until we add a public API...

Figwheel reloading is the trigger, but it's still not clear what the mechanism is for resurrecting the disposed subscriptions. Your speculation seems correct to me, the question we need to...

Looking more at this it seems like it is only triggered by Figwheel reloads of changes to re-frame-trace. This only happens when you are developing re-frame-trace alongside your main application....

I'm 95% sure that that information isn't available in the macroexpansion, you only get the parsed s-expression data. I think you'd need to use a Clojure formatter to reformat this...

I don't think cljfmt will break the lines for you given the data. I haven't investigated deeply, but possibly something like https://github.com/greglook/cljstyle or https://github.com/nedap/formatting-stack might be able to reform code...

I was able to reproduce the multiple animation frames running todomvc without re-frame-trace installed. There needs to be more investigation on why this happens, but I suspect that it's Reagent...

We've had similar thoughts about this too. Only showing the subscriptions that run in an epoch helps, but if you have a lot I can see how it might still...