react-plotly.js icon indicating copy to clipboard operation
react-plotly.js copied to clipboard

Warning if using frozen props

Open twavv opened this issue 4 years ago • 1 comments

Adds a warning if the passed in data prop is Object.freeze'd.

This is important since several React state managers return values that are frozen (in my case, Apollo). Currently, this just causes the plot to completely fail to render and gives no indication as to what's wrong.

twavv avatar Aug 23 '21 07:08 twavv

Agree, same happened to me

cenkakay avatar May 31 '23 08:05 cenkakay