redux-devtools-chart-monitor
redux-devtools-chart-monitor copied to clipboard
not work when set props defaultIsVisible={ true } with <DockMonitor>
I'm using the <DockMonitor>, and this is my code.
<DockMonitor toggleVisibilityKey='ctrl-h'
changePositionKey='ctrl-q'
changeMonitorKey='ctrl-m'
defaultIsVisible={ false }>
<LogMonitor />
<SliderMonitor />
<DiffMonitor />
<ChartMonitor />
</DockMonitor>
It will work when defaultIsVisible
is true
More specifically, if it's closed when the app loads and then you open it and switch to it, there are no nodes. It's just a completely blank box. This bug also manifests itself if you rewind the state with a different monitor and switch to this monitor. Maybe that second one is not totally unexpected. I'm unclear how the internals of these monitors work, so maybe they only know about their own internally preserved state and changes from elsewhere cause no effects.