Angular +19, query hydration, SSR example, devtools in separate package by benjavicente · Pull Request #10340 · TanStack/query · GitHub
Skip to content

Angular +19, query hydration, SSR example, devtools in separate package - #10340

Closed
benjavicente wants to merge 1 commit into
TanStack:mainfrom
benjavicente:angular-19-updates
Closed

benjavicente wants to merge 1 commit into
TanStack:mainfrom
benjavicente:angular-19-updates

Conversation

@benjavicente

@benjavicente benjavicente commented Mar 26, 2026 •

Copy link
Copy Markdown
Member

🎯 Changes

This is a continuation of #9986 (which is a continuation of #9893).

This is not intended to be in a reliable state, but can be used as a reference for other PRs for angular. I have not reviewed and cleanup all of the changes yet to have them ready for a release/merge, but I can do it if needed. I used AI mainly for refractors and examples.

Besides updating the docs and adding a couple of examples, this PR adds:

  • Hydration helpers with withHydration and provideServerTanStackQueryHydration.
  • A separate package for devtools, aligning the behaviour to the rest of the packages (the idea of only adding angular- prefixed packages instead of needing to install the core directly).
  • Proper angular testing via analog vite plugin.
  • Remove deprecated apis, like provideAngularQuery
  • Update some remaining <19 features, like using provideEnvironmentInitializer
  • Persister SSR support

I published the packages in my own scope to be used to experiment with them before getting similar changes in main here:

  • @benjavicente/angular-query-experimental
  • @benjavicente/angular-query-devtools
  • @benjavicente/angular-query-persist-client

I am happy to help getting the package out of experimental 👀

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm run test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

@coderabbitai

coderabbitai Bot commented Mar 26, 2026 •

Copy link
Copy Markdown
Contributor

@benjavicente benjavicente mentioned this pull request Apr 13, 2026
3 of 4 tasks
@benjavicente

Copy link
Copy Markdown
Member Author

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.

1 participant