medium10 pts · first answer countscross-platform-mobilereact-nativenavigation
navigate versus push in a stack
In React Navigation, the user is on Product (id 5) and taps a related product (id 9). `navigation.navigate('Product', { id: 9 })` updates the current screen instead of adding one. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Why list items need keysMobile App Developer
- Calling setCount twiceMobile App Developer
- Dart final versus constMobile App Developer
- What a BuildContext isMobile App Developer
- Reading the screen widthMobile App Developer
- Expanded inside a RowMobile App Developer
- ListView.builder for a long feedMobile App Developer
- Role of pubspec.yamlMobile App Developer