|
12 | 12 | React Query Firebase provides a set of easy to use hooks for handling asynchronous tasks with Firebase in your React application.
|
13 | 13 | ## Why should I use React Query Firebase?
|
14 | 14 |
|
15 |
| -- **Backed by [React Query](https://react-query.tanstack.com)** - Unlike other solutions, hooks are built on top of [React Query](https://react-query.tanstack.com) which takes care of complex challenges |
| 15 | +- **Backed by React Query** - Unlike other solutions, hooks are built on top of [React Query](https://react-query.tanstack.com) which takes care of complex challenges |
16 | 16 | such as caching, automatic refetching, realtime data subscriptions, pagination & infinite queries, mutations, SSR Support, data selectors, side effect handlers and more. You also get [DevTool](https://react-query.tanstack.com/devtools)
|
17 | 17 | support out of the box!
|
18 |
| -- **Un-opinionated** - You provide the Query Keys, Configuration & Firebase instances which allows you full control over how the data is integrated and cached. You can also roll it alongside any existing Firebase usage. |
| 18 | +- **Un-opinionated** - You provide the Query Keys, Configuration & Firebase instances, allowing for full control over how your data is integrated and cached. You can also roll it alongside any existing Firebase usage. |
19 | 19 | - **Performant & Efficient** - Whether your queries are one-off or realtime, the library is designed to be performant and efficient. Data fetching is handled via [Queries](https://react-query.tanstack.com/guides/queries) and
|
20 |
| -[Query Keys](https://react-query.tanstack.com/guides/query-keys), meaning components can share data and queries throughout your application. |
21 |
| -- **Mutations** - Sign a user in, delete a document, run a transaction, log an event... Don't worry about managing your own local state, React Query Firebase takes care of that for you via [Mutations](https://react-query.tanstack.com/guides/mutations). |
| 20 | +[Query Keys](https://react-query.tanstack.com/guides/query-keys), meaning components can share data throughout your application without needless database reads. |
| 21 | +- **Mutations** - Sign a user in, delete a document, run a transaction, log an event... React Query Firebase takes care of that for you via [Mutations](https://react-query.tanstack.com/guides/mutations), allowing you to focus |
| 22 | +on your application and not managing complex local loading & error states. |
22 | 23 | - **Fully Typed** - The library is built with and has full compatibility with TypeScript.
|
23 | 24 |
|
24 | 25 | > **Note**: The library supports the Firebase JS SDK v9 - [learn more about it here](https://firebase.googleblog.com/2021/08/the-new-firebase-js-sdk-now-ga.html)!
|
|
0 commit comments