aksonov / aksonov/react-native-router-flux
Setting a List / Detail navigation, where only navigating in the Detail view
- Lenguaje dominante
- JavaScript
- Estrellas
- 8.9k
- Forks
- 2.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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_
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.