diff --git a/package.json b/package.json index c41e08492b..74fcafdaac 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "unpkg": "dist/react-query.development.js", "types": "types/index.d.ts", "module": "es/index.js", - "sideEffects": false, "scripts": { "test": "is-ci \"test:ci\" \"test:dev\"", "test:dev": "npm run test:types && npm run test:eslint && jest --watch", diff --git a/src/core/queryCache.ts b/src/core/queryCache.ts index f02c3232de..b3be3f9e50 100644 --- a/src/core/queryCache.ts +++ b/src/core/queryCache.ts @@ -378,9 +378,6 @@ export class QueryCache { return query.fetch(undefined, resolvedConfig) } - /** - * @deprecated - */ // Parameter syntax with optional prefetch options prefetchQuery( queryKey: QueryKey,