aksonov / aksonov/react-native-router-flux
Cannot get parameters on tab on page
- Lingua principale
- JavaScript
- Stelle
- 8.9k
- Fork
- 2.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Version
Tell us which versions you are using:
- react-native-router-flux v4.0.6
- react-native v0.57.4
### Expected behaviour
Getting parameters on tab.
### Actual behaviour
It's showing previous pages parameters.
I have a scene structure like on the down below. On singlePage I'm calling new page (tab_1) with the parameters by using Actions.tab({ param1: "foo" }) or Actions.tab_1({ param1: "param" }) but I can't get the parameters from tab_1 by using prop. I couldn't figure it out how I can access the parameters.
When I write the Actions on the console I can reach those parameters but when I try to write Actions.currentScene it's showing me singlePage parameters.
Plus when I try example from actual code it's also same.
```
componentDidMount() {
console.log(Actions);
console.log(Actions.currentScene);
this.pageInit();
}
```
### Scene:
```
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.