I get this error Cannot read properties of undefined (reading 'height') at setNodeHeight #1599
Unanswered
joseDaKing
asked this question in
Q&A
Replies: 1 comment 3 replies
-
The problem was just I accidentally passed in a string to a View component like this const Component = ({ name }) => {
return (
<>
{name &&
<Text>
{name}
</Text>}
</>
);
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get this error in my code and I don't why
error:
TypeError: Cannot read properties of undefined (reading 'height')
at setNodeHeight
Beta Was this translation helpful? Give feedback.
All reactions