aksonov / aksonov/react-native-router-flux

Setting a List / Detail navigation, where only navigating in the Detail view

未关闭
#3,538 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
8.9k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

描述

I'm having a problem trying to set a navigation like this. I did a logic that I render a component (a list) if I'm in phone, or I render another component (list / detail) if I'm in tablet. This all happens inside a Tab router (for instance, you have a Sales tab, an inside you show a list of sales with the detail of each sale to the right) The problem is when you want to navigate inside the detail component. How can you resolve that? You can't have a new router for the detail component. And rendering scenes inside a component (made the detail render scenes) does not work either. I want to be able to render a List / Detail component (being the list one component, and the detail another one), and then being able to click in some button in the detail, and navigate to another component, but inside the Detail view (the List component keeps rendered). Thanks

_Originally posted by @scblason in https://github.com/aksonov/react-native-router-flux/issues/1565#issuecomment-522293767_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。