{"repo":"FirebaseExtended/reactfire","free":true,"listed":false,"github":"https://github.com/FirebaseExtended/reactfire","clone":"git clone https://github.com/FirebaseExtended/reactfire.git","description":"Hooks, Context Providers, and Components that make it easy to interact with Firebase.","language":"TypeScript","stars":3571,"topics":["firebase","react","react-hooks","react-suspense","realtime-database","firestore","firebase-js-sdk"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"ReactFire Hooks, Context Providers, and Components that make it easy to interact with Firebase. What is ReactFire? - Easy realtime updates for your function components - Hooks like useUser and useFirestoreCollection let you easily subscribe to auth state, realtime data, and all other Firebase SDK events. Plus, they automatically unsubscribe when your component unmounts. - Access Firebase libraries from any component - Need the Firestore SDK? useFirestore . Remote Config? useRemoteConfig . - Safely configure Firebase libraries - Libraries like Firestore and Remote Config require settings like enablePersistence to be set before any data fetches are made. This can be tough to support in React's world of re-renders. ReactFire gives you useInitFirestore and useInitRemoteConfig hooks that guarantee they're set before anything else. - Optional support - Hand loading states to React instead of checking a status yourself. Off by default, opt in with the suspense prop. See Suspense below. Platform support ReactFire is designed for web React apps and wraps the Firebase Web SDK. It is not compatible with React Native or Expo. For React Native projects, use react-native-firebase instead. Install Depending on your targeted platforms you may need to install polyfills. The most commonly needed will be globalThis and Proxy. Docs - Quickstart - Common Use Cases - API Reference - v3 - v4 Upgrade Guide Example use Check out the live version on StackBlitz! --- Status This repository is maintained","default_branch":null,"files":null,"tree":[],"storefront":"/r/FirebaseExtended","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FirebaseExtended/reactfire/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}