redux-devtools-inspector icon indicating copy to clipboard operation
redux-devtools-inspector copied to clipboard

[Bug] getShortTypeString type checking

Open Arturszott opened this issue 7 years ago • 1 comments

If type is checked before val is modified, new val may have invalid type.

In my case

val = [ 1234, 5678]

and type is 'Array' but then val gets assigned 5678

https://github.com/alexkuz/redux-devtools-inspector/commit/9dfaaabcfba7913fd15ee6ee43627e0ceb1d5c7b#diff-d6461f2218156760b2d63ced35272d86R8

PR: https://github.com/alexkuz/redux-devtools-inspector/pull/72

Arturszott avatar Aug 14 '17 11:08 Arturszott

Feel free to use this workaround in your package.json until #72 is merged:

"redux-devtools-inspector": "detroit-labs/redux-devtools-inspector#940efcdc6bdf2f54bdafaa390bb6f2d1c73fadca"

cooperka avatar Dec 10 '17 16:12 cooperka