Cannot read property '__emotion_real' of undefined
See original GitHub issueSo, we’re seeing this issue occasionally logged from Emotion. The component in question is defined as follows, where motion.div
is a framer-motion animated element:
const StyledDiv = styled(motion.div)`
backface-visibility: hidden;
bottom: 0;
...
My best guess is that Emotion is trying to do business before framer-motion has made the element available. I don’t know whether it would be possible to suppress this noise … ?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:11 (11 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'value' of undefined #1354
I think the key is that you need to use emotion babel plugin, without it, it works fine. It fails in this demo...
Read more >Cannot read property 'main' of undefined in MUI v5
In v5 they state they want to align with the material spec and no longer include the 'default' grey color because it isn't...
Read more >Using Emotion in Your Real Estate Marketing Strategy
The power of emotion is undeniable so incorporating it into your real estate marketing strategy is essential. Here's tips for crafting ...
Read more >How to Avoid Getting 'Cannot read property of undefined' in ...
Learn how you can avoid getting the famous 'Cannot read property of undefined' error in JavaScript with the logical OR operator.
Read more >can not read properties of undefined | app showing blank page
Your browser can't play this video. ... can not read properties of undefined | reading render error in react | app showing blank...
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
Heh, given Chrome 80+ pops up here this doesn’t sound like a Proxy-problem (or at least there has to be something else to it). There are a lot of things that can happen on the web though - including external browser extensions messing up with stuff, so I wouldn’t really be concerned much about it until you receive a real user report about this.
Going to close this then - if you ever get a repro case for this then let me know. I’m quite curious regarding what is actually happening there.