---
title: "Discussion on \"React Query 101\" | Hashnode"
description: "Discussion on \"React Query 101\". I've always looked at react-query from far away, before I was mainly working with GraphQL and Apollo was a great solution for my querying needs.\nFast forward a couple years and now I am at a different job and I am not using GraphQL anymore. Having he..."
url: "https://hashnode.com/posts/react-query-101/602263127d860b3782e8f5ad"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React Query 101](https://ivanms1.hashnode.dev/react-query-101?utm_source=hashnode&utm_medium=feed)

I've always looked at react-query from far away, before I was mainly working with GraphQL and Apollo was a great solution for my querying needs. Fast forward a couple years and now I am at a different job and I am not using GraphQL anymore. Having he...

Feb 9, 2021 · 7 min read · ivanms1.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#fetch](https://hashnode.com/tag/fetch)

## Written by

[Ivan Maximiliano Saldano](https://hashnode.com/@ivanms1)

@ivanms1 · South Korea

  
[View profile](https://hashnode.com/@ivanms1)

Full Stack Developer | Senior Frontend Developer @ Jitera

I am a developer from Argentina living in South Korea.

## Responses 1

Markdown supported · ⌘↵ to post

[Hùng Dương Tấn](https://hashnode.com/@zerg)

[Mar 16, 2022](https://hashnode.com/posts/react-query-101/602263127d860b3782e8f5ad/comment/6231745b154913f71e77f418)

[Ivan Maximiliano Saldano](https://hashnode.com/@ivanms1) The only thing I am concerned to apply it for react-native is "queryCache". For offline purposes, we usually cached the data in redux persist and show when offline. currently, in react-query, we can cache with AsyncStorage but the process will be: network request native serialized -> pass-through bridge -> deserialized in js thread -> react-query serialized as string -> pass-through bridge again to stored cached data -> deserialized again anytime we used cache. It may bottleneck if the query data is too big and serialized JSON is CPU process can freeze the js thread (redux has the same issues but we choose what we need to store)

Anyway, When the new architecture of RN is released and more popular, we will have more library that uses JSI to reduce the serialize process, we can apply it as a stored layer for react-query
