Installieren Sie die Reaktionsnative-Community-Hooks
npm install @react-native-community/hooks
Friendly Finch
npm install @react-native-community/hooks