Skip to content
Source
Sign inSign up
TanStack/query

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

Closedarnoud-dv(GitHub profile, opens in a new tab) opened this issue 0 comments

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.

  1. arnoud-dv(GitHub profile, opens in a new tab) added labelspackage: angular-query

  2. arnoud-dv(GitHub profile, opens in a new tab) added labelspackage: angular-query-experimental

Sign in to join this conversation.