Skip to content

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

@arnoud-dv

Description

@arnoud-dv

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions