Android – the node has not been attached to the view in ‘propsanimatednode. Updateview’

Sometimes I can see this message, but only in Android, I think it will appear every time an alarm is displayed

Alert.alert('Oops!', this.props.user.errorMessage,
     [{
        text: 'OK', onPress: () => console.log('here press');
     }]);

The error is:

Anyone has the idea that could lead to this problem?

thank you

of

github Issue

resolvent:

As I commented in the GitHub question you linked, your error may be due to your attempt to call mapstatetoprops with a nonexistent key. Obviously, this is only a hypothesis, because we certainly need more information about your project. Do you use Redux? Which react native version are you running? Where does this.props.user.errormessage come from? Strut from parent assembly or reducer?

In addition, another possibility is that in another tab, you are importing some modules that do not exist or are not exported correctly

By the way, I leave here another problem to be solved for reference: #438

I really hope it will help you!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>