aksonov / aksonov/react-native-router-flux

Is it bad practice to use Actions.replace('scene'); or type='replace' everywhere?

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

Descrição

Hi all,

Just curious if this was bad practice for some reason? By doing this, I've solved an issue I had with screens that contain large amounts of data being updated by redux that weren't unmounting. Replace ensures things are being unmounted and a fresh new instance of the screen loads every time.

Before I move forward with this, is there a reason this might be bad practice?

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.