Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular: support providing TanStack Query and withDevtools on lazy loaded routes #8705

Open
arnoud-dv opened this issue Feb 26, 2025 · 0 comments

Comments

@arnoud-dv
Copy link
Collaborator

arnoud-dv commented Feb 26, 2025

There's a wish for large enterprise applications to not add TanStack Query to the main application bundle but only on lazy loaded routes.

provideTanStackQuery and feature providers such as withDevtools should be usable on lazy loaded routes providers array.

As withDevtools was first intended to be used only in app.config.ts it currently adds new devtools every time it's provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant