Posted On
React Native

How to handle device back button in react-native with react-native-router-flex

Posted By Neha Dwivedi

How to handle device back button in react-native with react-native-router-flex For handling the device back button react-native provide a library, so let’s see how we handle this. Step 1: import the following line import { BackHandler } from ‘react-native’; Step 2: Declare it on constructor so we find it only one time constructor(props) {     super(props) […]

read more