We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
The Angular Query devtools are lazy loaded to optimize startup performance of the app while developing and to minimize bundle sizes.
However, even if the code that performs the lazy load is tree shaken, esbuild wil generate unnessary chunks adding to application deployment size.
https://tanstack.com/query/latest/docs/framework/angular/examples/basic
withDevtools
app.config.ts
npm run build
No chunks should be generated for devtools if they are not used
Every time
No response
N/a
angular-query
v5.74.7
PR in progress
The text was updated successfully, but these errors were encountered:
arnoud-dv
No branches or pull requests
Describe the bug
The Angular Query devtools are lazy loaded to optimize startup performance of the app while developing and to minimize bundle sizes.
However, even if the code that performs the lazy load is tree shaken, esbuild wil generate unnessary chunks adding to application deployment size.
Your minimal, reproducible example
https://tanstack.com/query/latest/docs/framework/angular/examples/basic
Steps to reproduce
withDevtools
fromapp.config.ts
npm run build
withDevtools
in the applicationExpected behavior
No chunks should be generated for devtools if they are not used
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
N/a
Tanstack Query adapter
angular-query
TanStack Query version
v5.74.7
TypeScript version
No response
Additional context
PR in progress
The text was updated successfully, but these errors were encountered: