Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 289 Bytes

useAppState.md

File metadata and controls

11 lines (7 loc) · 289 Bytes

useAppState

React Native API 🎣 that adds an event listener for the AppState change event . Also, this will return the initial state from AccessibilityInfo.currentState.

Usage

import {useAppState} from 'react-native-use'

const appState = useAppState();