is a bug
yes
Environment
Steps to Reproduce
Sometimes initPage: true will not be triggered, the code is as follows:
constructor(props) {
super(props)
this.state = {
initPage: false
}
}
componentDidMount() {
InteractionManager.runAfterInteractions(() => {
this.setState({
initPage: true
}, () => {
this.requestData()
})
})
}
Expected Behavior
Each trigger changes initPage: true
Actual Behavior
Most of the time it's triggered to change initPage: true, which occasionally doesn't trigger, and the previous react native version doesn't seem to have the problem
is a bug
Have you read the Contributing Guidelines?
yes
Environment
Steps to Reproduce
Sometimes initPage: true will not be triggered, the code is as follows:
Expected Behavior
Each trigger changes initPage: true
Actual Behavior
Most of the time it's triggered to change initPage: true, which occasionally doesn't trigger, and the previous react native version doesn't seem to have the problem