Skip to content

Commit 033c868

Browse files
authored
Fix promise handling in core for dehydrated states
Ensure .then and .catch are only attached to dehydrated promises.
1 parent 3341905 commit 033c868

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tanstack/query-core": patch
3+
---
4+
5+
fix(core): only attach .then and .catch onto a promise if it gets dehydrated

0 commit comments

Comments
 (0)