facebook/react-devtools

React Hooks state

Closed this issue · 3 comments

If there is array in state it just show length is it possible to show full content of array?

For App component it shows like this .

App:
State:
5
State:
""
State:
Array[1]
Effect:
fn()

There is already an issue tracking this functionality: #1215

@nathanheffley hmm it don't say about editing hook state?

Realistically, improved hooks support probably won't land in DevTools until the rewrite MVP is launched, so I'd prefer to track issues like this under the umbrella (#1215). (It's not like it's an unknown issue, just a known limitation that we're working on.)

I'm going to close this issue. I'll make sure it's explicitly mentioned on the other.