Languages

React - Uncaught TypeError: Cannot read property 'type' of undefined

1 points
Asked by:
Kate_C
2952

Today when I pulled my project, run yarn install, I got following error:

Uncaught TypeError: Cannot read property 'type' of undefined

Do you know the reasone?

1 answers
1 points
Answered by:
Kate_C
2952

Try to check if some variables are undefined. I had same problem in my code when Backend REST API changed, and component stopped working.

React web applicatiuon was displaying wrong error message.

0 comments Add comment
Native Advertising
50 000 ad impressions - 449$
🚀
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

❤️💻 🙂

Join