I am trying to inspect a React Hooks component in Dev Tools, but regardless of component, all my useState hooks show up as:
Hooks
State: false
State: null
Effect: fn()
The false
values are correct, but I can't figure out which hook is which since for some reason they won't display the hook variable name.
Here is how I set up each hook:
const [myHook, setMyHook] = useState(false);