---
title: "Discussion on \"From useEffect to TanStack Query: What Changed My Perspective\" | Hashnode"
description: "Discussion on \"From useEffect to TanStack Query: What Changed My Perspective\". I built two React projects using useEffect and TanStack Query. Here's what I learned about data fetching, caching, and server state."
url: "https://hashnode.com/posts/from-useeffect-to-tanstack-query-what-changed-my-perspective/6a60e6e26c4813701627c99b"
---

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

Discussion

# [From useEffect to TanStack Query: What Changed My Perspective](https://mdshahzebalam.hashnode.dev/from-useeffect-to-tanstack-query-what-changed-my-perspective?utm_source=hashnode&utm_medium=feed)

I built two React projects using useEffect and TanStack Query. Here's what I learned about data fetching, caching, and server state.

Jul 22 · 7 min read · mdshahzebalam.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tanstack-query](https://hashnode.com/tag/tanstack-query)

## Written by

[Mohammad Shahzeb Alam](https://hashnode.com/@mdshahzebalam)

@mdshahzebalam · Kolkata, India

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

Frontend Developer

Frontend Developer Loves To Getting Involved In Developer Communities. Open Source Enthusiast

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
