S
S
Sergey Zolotarev2021-06-02 10:47:10
React Native
Sergey Zolotarev, 2021-06-02 10:47:10

How to fix an error in the constructor of the Component class?

Good afternoon!
Recently, I have come across a solution to the problem described by Expo CLI:

TypeError: Cannot set property 'result' of undefined

Judging by the description, React Native failed to set the Result property in the component, but error sources say so
How to correctly define the result property, solving this problem (since I work with class constructors for the first time)?
Examples of problematic code in the comments to the question...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question