aksonov / aksonov/react-native-router-flux

Action.refresh no longer works starting on v4.0.0-beta.40

Aberta
#3,376 11 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

### Version
Any react-native-router-flux version including and higher than 4.0.0-beta.40

### Expected behaviour
`componentWillMount() {
Actions.refresh({onRight: () => this.onButtonPress(), rightTitle: I18n.t("profile.save")})
}`
refreshes the onRight title and action

### Actual behaviour
Instead, it does not do anything when it used to work in previous versions.

### Steps to reproduce
1. Create a project with the latest version
2. Add onRight action in Router component
3. Update the action with the onRefresh event and see that it does not work

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.