react-native-screens asks for main code example
Example: useScreens() react native
// install react native screens
npm i react-native-screens
// import
import { enableScreens } from 'react-native-screens';
// run this before any screen render(usually in App.js)
enableScreens();