Expo

Documentation

Screens

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

To install this API in a managed or bare React Native app, run expo install react-native-screens. In bare apps, make sure you also follow the react-native-screens linking and configuration 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 { useScreens } from 'react-native-screens';
useScreens();
More information on usage for library authors is available in the README.