aksonov / aksonov/react-native-router-flux

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

Aberta
#3,384 2 comentários 0 reações 0 responsáveis Ver no GitHub
question
Linguagem predominante
JavaScript
Estrelas
8.9k
Forks
2.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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
}
}}
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.