refactor(shared): keep BaseQueryStore out of the lib barrels
BaseQueryStore pulls @tanstack/query-core. Re-exporting it through the broad $shared/lib and $shared/lib/helpers barrels made every consumer of those barrels eager-load TanStack at module-eval time (no tree-shaking in vitest/vite-node), which is what surfaced the queryClient mock init-order failure. Its single consumer now imports it by path.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
export {
|
||||
BaseQueryStore,
|
||||
createDebouncedState,
|
||||
createEntityStore,
|
||||
createFilter,
|
||||
|
||||
Reference in New Issue
Block a user