React Hooks for React Native Firebase
npm install @skillnation/react-native-firebase-hooksReact Hooks for React Native Firebase
```
yarn add @skillnation/react-native-firebase-hooks
_Note:_ This assumes you have setup react-native-firebase in your project.
The API is exactly the same as react-firebase-hooks.
Only the imports are different:
`diff`
- import {} from 'react-firebase-hooks/MODULE_NAME'
+ import {} from '@skillnation/react-native-firebase-hooks/MODULE_NAME'
- Authentication Hooks
- Cloud Firestore Hooks
- Cloud Functions Hooks
- Cloud Messaging Hooks
- Cloud Storage Hooks
- Realtime Database Hooks
react-firebase-hooks is incompatible with the latest versions of react-native-firebase`, especially from a types perspective.
This works internally the mostly the same as react-firebase-hooks.
So you really only want to use that for react native.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT