I see the same thing, though the issue is only with objects. Primitive values in state seem to show up fine.
It was logged as an issue 3 weeks ago: https://github.com/facebook/react-devtools/issues/1282
I'm surprised it hasn't already been addressed, but I suspect it will be addressed soon now that hooks are released.
I have also seen on Twitter that Brian Vaughn has been working on a rewrite of React devtools:
but it sounds like it will be a little while yet before that is ready for broad use.
Update with React v16.8
React Hooks are now supported by React DevTools.
- react hooks useEffect() cleanup for only componentWillUnmount?
- How to handle dependencies array for custom hooks in react
- Is there any way to see names of 'fields' in React multiple state with React DevTools when using 'useState' hooks
- Proptypes for custom react hooks
- Disable chrome react DevTools for production
- How to do flow type annotations for React hooks (useState, etc.)?
- useMemo vs useState for React hooks constants
- How to use React Hooks Context with multiple values for Providers
- What is the syntax for click events in React Hooks for passing arguments
- Better aproach for destructing Custom React Hooks with multiple returns?
- Component name with React hooks in DevTools
- Constructor props equivalent in React Hooks for history push
- Wait for API call data before render react hooks
- React Hooks - useReducer: Wait for reducer to finish before triggering a function
- React Hooks Idle Timeout for Functional Component
- Unable to modify component props from React DevTools for Chrome
- React hooks equivalent for ComponentWillMount
- Replace of setState callback in react hook with useEffect hooks for complicated scenario not working
- No Link to source-code in Chrome Devtools for React components
- Correct handling of React Hooks for microphone audio
- How to create a dynamic array of React hooks for an array of components
- React Hooks onchange event too slow for scanner input
- Abstracting React Hooks for dynamic form fields
- React Hooks State update one step behind. For this reason my changes are not working correctly
- For loop only working on second loop with React hooks
- naming convention for react hooks and props?
- Wait for API data before render react hooks
- React hooks warn me for missing dependencies
- how to make tooltip for TextField material ui react hooks
- Metarial UI useMediaQuery hooks render twice to React Component, do you have any solution for it?
More Query from same tag
- rxjs momentjs filter last 30 days
- Axios Request Interceptors - Do Something on Request Completion
- Event code is not executed after default page reload
- How do i bind a css stylesheet to only 1 react component?
- How can I make my React app render Bootstrap tables with crud
- env-vars in React using Dotenv and Webpack
- How can I jump to a div with a specific id in react
- Can't understand why I can't access the value of counter
- Cannot read property 'state' of undefined in API call
- Redux: Call to action-creator returns 'Cannot read property 'props' of undefined'
- React bootstrap not styling my react components
- Unhandled Rejection (TypeError): api.getUser is not a function
- How can i display multiple preview images (that are loaded into an input)in ReactJS?
- Asyncronous test using React Testing Library/WaitFor
- Get reference to a antd time picker and store its value to state variable
- how do refactoring one types expression in typescript and react project
- Deepcopy in React
- how to make a dispatch wait for the first dispatch to run
- How to use async React-Redux state properly
- Will outermost .catch() work for all chained / nested promisses?
- React: React-Firebase-Hooks not getting value
- Element implicitly has an 'any' type because expression of type 'any' can't be used to index type with createStyles
- Props not passing in dynamic URL - TypeError React.js
- How to capture Errors in Apollo Consumer when making graphql queries
- unable to replace process.env.hostname in axios post method
- Passing a function to a component but receiving undefined
- react.js: Invalid hook call
- React Recursive Function to Render Components
- Combine Reducer without Redux
- React className remove and add