Skip to content

[pull] main from TanStack:main#170

Merged
pull[bot] merged 4 commits into
manudeli:mainfrom
TanStack:main
May 22, 2025
Merged

[pull] main from TanStack:main#170
pull[bot] merged 4 commits into
manudeli:mainfrom
TanStack:main

Conversation

@pull

@pull pull Bot commented May 18, 2025

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

* style: disable the ESLint rule that removes Context.Provider

* fix: correct grammartic mistake
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 22, 2025
* test(hydration): implement missing hydration tests

* Do not hydrate older promises
* Do not infinite loop on hydrating failed promises
* Hydrate already resolved promises immediately

* fix(hydration): fix promise hydration bugs

* Include dehydratedAt and ignore hydrating old promises
  * This is an approximation of dataUpdatedAt, but is not perfect
* Refactor checks for if we should hydrate promises or not to fix infinite loop bug on failed queries
* Hydrate already resolved promises synchronously

* call query.fetch even if sync data was available

* use noop function in tryResolveSync .catch

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
@pull pull Bot merged commit 80dd0db into manudeli:main May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants