Fail to see the state name in react devtools

Viewed 9

I have declared some states using useState hook. But when I opened the react devtools, I can't these states's names. What I see is state, state and state...... How to display their names? For example, If I declare a state using const [count,setCount] = useState(0). Then I can exactly see the state name count in react devtools.

enter image description here

0 Answers
Related