react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

Hooks objects as state not showing in RND

Open ChristianBlom84 opened this issue 6 years ago • 1 comments

React Native Debugger app version: 0.10.2 React Native version: 0.59 (Expo SDK35) Platform: iOS Is real device of platform: Yes Operating System: Windows

As the image below shows, I can't see the state of hooks with objects as a state. The ones with a simple string update and show as expected, while the hooks with object show no indication of changing or updating.

rndbugreport

ChristianBlom84 avatar Oct 25 '19 11:10 ChristianBlom84

Hi RN-Debugger team.. i believe this was somewhat recently resolved in react-dev tools. https://github.com/facebook/react-devtools/issues/1282

Any idea on the timeline this will be fixed in rn-debugger? This is.. i'd say a big issue, thanks!

Yea you can not see the 'keys' only just the values.. and any non-primitive values can not be expanded and are just shown as a plain text preview

Deg5112 avatar Oct 25 '19 17:10 Deg5112