aksonov / aksonov/react-native-router-flux
Is it bad practice to use Actions.replace('scene'); or type='replace' everywhere?
Aberta
- 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
Avaliação
Esta issue ainda não foi avaliada.