day8 / re-frame-10x

A debugging dashboard for re-frame. X-ray vision as tooling.
MIT License
632 stars 68 forks source link

[Bug]: event history (epoch) arg expansion faulty #378

Closed hipitihop closed 1 year ago

hipitihop commented 1 year ago

What happened?

When multiple invocation of the same event appears in the history:

Before expanding: image

After expanding first element: image

10x Version

1.5.0

Reagent Version

1.1.1

React Version

17.0.2

re-frame Version

1.3.0

What browsers are you seeing the problem on?

Chrome

Relevant console output

No response

kimo-k commented 1 year ago

Can't repro. I tried a shadow-cljs project with those lib versions, tested on google-chrome-stable debian:

(rf/reg-event-db ::test (fn [_ args] args))

(let [lorem "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
      keys (map keyword "abcdefg")
      arg (->> (repeat lorem) (map vector keys) (into {}) (map vector keys) (into {}))]
  (dotimes [_ 10] (rf/dispatch [::test arg])))
hipitihop commented 1 year ago

@kimo-k I'll try and reproduce this with v1.7.0