Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Navigation & Routing in React Native

Navigation & Routing in React Native

Avatar for Nicolas Amabile

Nicolas Amabile

May 30, 2018

More Decks by Nicolas Amabile

Other Decks in Technology

Transcript

  1. Out of the box solutions import { Navigator } from

    'react-native' import { NavigationExperimental } from 'react-native' import { NavigatorIOS } from 'react-native'
  2. react-navigation/react-navigation Pros: - Everything is written in JavaScript on top

    of React Native primitives. - No need to write native code. - Easy to extend and integrate. Cons: - The API is sometimes unintuitive and difficult to use. - React Navigation does not directly use the native navigation APIs on iOS and Android. - Much of the logic for React Navigation runs in JavaScript rather than in native, blocking the JavaScript thread.
  3. Recommendations - First steps with React Native (Medium post) -

    Sharing code between ReactJS and React Native (github example) - Reactiflux community, join them on Discord! - React digest, One email per week, 5 links.