question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Complex objects unexpectedly represented as strings

See original GitHub issue

Hi @zalmoxisus, thanks for this fantastic extension! I’ve been using the redux-devtools-extension for around 1.5 years and found it really useful.

One thing that has always bothered me is that complex objects appear to be represented as strings. For example, when storing a Date in the state, the devtools show you its toString() rather than the object itself. This can make it hard to know whether you’ve persisted the correct type of data into the store, which has helped create a few bugs for me in the past. I’d much rather be shown a plain object (even though that would be more messy) and only see a string when the data in the store is actually a string.

If there isn’t already an established solution to this, would you be open to me submitting a PR?

Thanks for your help!

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rufusraghunathcommented, Nov 19, 2018

Thanks @zalmoxisus, I’ll take a look this week. If it’s OK with you I’ll send a PR and we can discuss. Feel free to assign this issue to me 😃

0reactions
rufusraghunathcommented, Dec 9, 2018

OK great, I’ll head over to redux-devtools and check out what you’ve done. I’ll comment on the PR there 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strings in a DataFrame, but dtype is object - Stack Overflow
The dtype object comes from NumPy, it describes the type of element in a ndarray . Every element in an ndarray must have...
Read more >
3. Data model — Python 3.11.1 documentation
Strings. A string is a sequence of values that represent Unicode code points. All the code points in the range U+0000 - U+10FFFF...
Read more >
Objects - The Modern JavaScript Tutorial
Seven of them are called “primitive”, because their values contain only a single thing (be it a string or a number or whatever)....
Read more >
Working with objects - JavaScript - MDN Web Docs - Mozilla
An object is a collection of properties, and a property is an ... Then the value of myCar.make is the string "Eagle" ,...
Read more >
Immutable Data Patterns in Dart and Flutter - Dart Academy
Complex objects in immutable classes. What if an employee's name was represented by an object more complex than a string? As an example:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found