---
title: "Discussion on \"Performance Optimizations with React Query\" | Hashnode"
description: "Discussion on \"Performance Optimizations with React Query\". Select → Useful for API Responses\nMost APIs return way more data than you need:\n// API returns huge user object\nconst { data: userName } = useQuery({\n  queryKey: ['user', id],\n  queryFn: () => fetchUser(id), // Returns 50 fields\n  select: (user) => u..."
url: "https://hashnode.com/posts/performance-optimizations-with-react-query/6869553c5ca66f7cb5995a14"
---

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

Discussion

# [Performance Optimizations with React Query](https://tigerabrodi.blog/performance-optimizations-with-react-query?utm_source=hashnode&utm_medium=feed)

Select → Useful for API Responses Most APIs return way more data than you need: // API returns huge user object const { data: userName } = useQuery({ queryKey: \['user', id\], queryFn: () => fetchUser(id), // Returns 50 fields select: (user) => u...

Jul 5, 2025 · 1 min read · tigerabrodi.blog  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#performance](https://hashnode.com/tag/performance)

## Written by

[Tiger Abrodi](https://hashnode.com/@tigerabrodi)

@tigerabrodi · Germany

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

Obsessed with crafting software.

Just a guy who loves to write code and watch anime.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
