aksonov / aksonov/react-native-router-flux
Question: pass data between Drawer and nested scene
- 主要言語
- JavaScript
- スター
- 8.9k
- フォーク
- 2.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
- react-native-router-flux v4.0.6
Hi everyone. I use app structure similar to this:
```
```
and I wonder how can I **pass data between Drawer and NestedScene** using React's state. If I use state within root app component, then after every `.setState()` call the entire app reloads and stuck in the initial `LoginComponent` scene. So my question is:
1) **Can I wrap Drawer and its nested Scene into single component (for ex. `` ) with its own state and use it like below**?
```
```
2) **If not, is there are any other ways to do this besides using Redux**?
コントリビューションガイド
評価
この issue はまだ評価されていません。