aksonov / aksonov/react-native-router-flux
Is it bad practice to use Actions.replace('scene'); or type='replace' everywhere?
オープン
- 主要言語
- JavaScript
- スター
- 8.9k
- フォーク
- 2.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi all,
Just curious if this was bad practice for some reason? By doing this, I've solved an issue I had with screens that contain large amounts of data being updated by redux that weren't unmounting. Replace ensures things are being unmounted and a fresh new instance of the screen loads every time.
Before I move forward with this, is there a reason this might be bad practice?
コントリビューションガイド
評価
この issue はまだ評価されていません。