Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

important-defaults.md

13 lines569 Bytes

1---
2id: important-defaults
3title: Important Defaults
4ref: docs/framework/react/guides/important-defaults.md
5---
6​
7[//]: # 'StructuralSharing'
8​
9- Query results by default are **structurally shared to detect if data has actually changed** and if not, **the data reference remains unchanged** to better help with value stabilization. If this concept sounds foreign, then don't worry about it! 99.9% of the time you will not need to disable this and it makes your app more performant at zero cost to you.
10​
11[//]: # 'StructuralSharing'
12[//]: # 'Materials'
13[//]: # 'Materials'