aksonov / aksonov/react-native-router-flux

Actions.path() not working on componentWillMount nor OnEnter prop

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

説明

When I gave a delay of 100ms it work in both the cases, but I don't want to render that screen :-1:

```
onEnter={() => {
var user = UserService.findAll();
if (user.length > 0) {
console.log(" here it comes"); //its visible
Actions.homeScreen(); // its not redirecting
}
}}
```

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

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

評価

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

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

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