Cannot read property 'displayName' of null
See original GitHub issueSince upgrade to RN 0.57.5 and the latest React, the following issue arose upon running React Native Debugger and starting the App:
ExceptionsManager.js:84 Warning: React DevTools encountered an error: TypeError: Cannot read property 'displayName' of null
.
I believe it is linked to https://github.com/facebook/react-devtools/issues/1195 and https://github.com/facebook/react-devtools/issues/1168
React Native Debugger app version: 0.8.1 React Native version: 0.57.5 Platform: iOS AND Android Is real device of platform: Simulator and Real device in debug mode Operating System: macOS
Issue Analytics
- State:
- Created 5 years ago
- Reactions:20
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property 'displayName' of ...
1 Answer 1 ; () => { setState ; null }); console ; "read error set to null now attempting to fetch data");...
Read more >Cannot read property 'displayName' of undefined · Issue #7390
In my case it was because I imported the component as a named import instead of default import. So I fixed it from...
Read more >Unable to read 'displayName' of null error. : r/reactjs - Reddit
I'm coding this one segment that is supposed to alert the user to sign in before being able to upload photos.
Read more >How to fix the error “Cannot read property 'displayName' of ...
This part will be fixed the error 'displayName' of undefined”. And you need to use Named exports because you coded the property of...
Read more >cannot read properties of undefined (reading 'displayname')
On first load of the page my component has an error Cannot read properties of undefined reading ('displayName') . If I update the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just upgraded to React Native v0.57.7 from 0.57.5 and the problem self resolved
As a heads up, I did a local build with the version of react devtools upgraded to 3.4.2 in line with part of the discussion in infacebook/react-devtools#1168 and it did not resolve the issue