aksonov / aksonov/react-native-router-flux

Redux delete the history of previously visited pages

オープン
#3,514 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
8.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

So rnrf does save the history of what app screens it has visited, so you can do Actions.pop() and return to the previous page visited. But once you save something in redux, and then you attemp to go to the previous page with pop(), instead of going to the previous page, it takes you to the initial screen of the applicacion. Which probably means the rnrf history was erased.

### Version
Tell us which versions you are using:
- react-native-router-flux v4.1.0-beta-4 (but it also happend in 4.0.0 which is latest stable version)
- react v16.8.3
- react-native v0.59
- expo 33

### Expected behaviour

After saving data to redux, Actions.pop() should still take me to the previous visited screen

### Actual behaviour

After saving data to redux, Actions.pop() take me to the initial screen

### Steps to reproduce
1.Save any data to redux
2.After the redux code has been executed, execute Actions.pop()
3.It will take you to the initial screen (which in many cases, that one is the login screen)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。