aksonov / aksonov/react-native-router-flux

Components are mounted twice

未關閉
#3,368 10 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
8.9k
分支
2.1k
PR 合併指標
30 天內沒有已合併 PR

描述

### Version
- react-native-router-flux v4.0.6
- react v16.6.1
- react-native v0.57.5
- ios 12.x

### Expected behaviour
Navigate back to a component and navigate back again. Didmount should be executed once.

### Actual behaviour
Navigate to the component again immediately after a component back , it should not cause the component to be mounted twice .

### Steps to reproduce
Navigate from "home" to ”productList“
```javascript











```

### Reproducible Demo
The official demo can reproduce this bug

I think this may be because I re-entered the component immediately after exiting the component.

My English is not very good, I hope you can understand, God bless 🙏

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。