debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Chart of State is not correctly displayed in Redux Devtools

Open panmona opened this issue 4 years ago • 3 comments

Description

When using elmish/debugger with Redux Devtools, the chart of the State only contains one data point with "error": image

Repro code

The Increment/Decrement Elmish demo in conjunction with elmish/debugger reproduces the problem. A minimal demo can be found here: https://github.com/vlot/fable3-esbuild/blob/main/src/App.fs

Expected and actual results

Expected: The state chart is correctly displayed Actual: The state chart only contains one data point with "error"

Related information

  • elmish version: 3.1.0
  • fable-compiler version: 3.4.9
  • fable-core version: 3.4.0
  • Operating system: Linux

panmona avatar Nov 05 '21 16:11 panmona

Are other people able to reproduce this issue? Does anyone have an idea what could be happening here and maybe has pointers on how we could to fix this issue?

I would love to get this Chart functionality working, as it's something I loved when I used Redux in the past.

panmona avatar Mar 07 '22 20:03 panmona

This used to work I think, although I haven't paid attention in a long while. Can you see if v4 beta has the same problem?

et1975 avatar Mar 07 '22 23:03 et1975

I tested this again with the version 4.0.0-beta-1 of both Fable.Elmish.Debugger and Fable.Elmish. I have the same behavior in the debugger: image

panmona avatar Mar 08 '22 17:03 panmona