Use methods instead of 'presentation' to change how a screen is displayed.
W
Witalo Benicio
Would be good if, instead of having to use
presentation
to change how a screen is presented, we could use just methods.For example:
navigation.push()
navigation.showModal()
navigation.dismissModal()
navigations.dissmissAllModals()
It would also be good if we avoid relying on navigators.
Sometimes you have to show a screen in different contexts, and having to use navigators forces code duplication.
If we had a single Stack where we could register screens and only call the navigation methods wherever needed, it would be way easier to handle complex navigation scenarios.