Skip to content

react-native-firebase/react-query-firebase

 
 

Repository files navigation

React Query Firebase

A set of React Query hooks integrating with Firebase.

📚 DocumentationLicense


React Query Firebase provides a set of easy to use hooks for common Firebase usecases. Each hook wraps around React Query, allowing to easily integrate the hooks into a new or existing project, whilst enjoying the powerful benefits React Query offers.

The exported hooks do not manage Query Keys or Firebase instances, giving you full control over integration.

Installation

If you haven't done so already, install react, react-query & firebase (v9):

npm i --save react react-query firebase

Before using this library, ensure React Query is setup on your project by following the Installation guide.

Next install one of the React Query Firebase packages, e.g:

npm i --save @react-query-firebase/firestore

See below for a full list of available packages.

Packages

  • @react-query-firebase/auth
  • @react-query-firebase/firestore
  • @react-query-firebase/functions

View the documentation for full usage and examples.

License


Built and maintained by Invertase.

About

React Query hooks for Firebase.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.4%
  • JavaScript 2.6%