medium10 pts · first answer countscross-platform-mobilereact-nativenavigation
Passing a callback as a route param
A screen is opened with `navigate('Edit', { onSave: () => refresh() })` and React Navigation warns about non-serializable values. Why does it matter?
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