aksonov / aksonov/react-native-router-flux
Actions.path() not working on componentWillMount nor OnEnter prop
Aberta
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
Avaliação
Esta issue ainda não foi avaliada.