Expo

Get Started
API Reference

Screens

react-native-screens provides native primitives to represent screens instead of plain <View> components in order to better take advantage of operating system behavior and optimizations around screens. Used by library authors, unlikely to be used directly by most app developers.
Note: this library is still in alpha. Please refer to the issue tracker if you encounter any problems.

Platform Compatibility

Android DeviceAndroid EmulatoriOS DeviceiOS SimulatorWeb

Installation

expo install react-native-screens

If you're installing this in a bare React Native app, you should also follow these additional installation instructions.

To use react-native-screens with react-navigation, you will need to enable it before rendering any screens. Add the following code to your main application file (e.g. App.js):
import { enableScreens } from 'react-native-screens';
enableScreens();
More information on usage for library authors is available in the README.