@tanstack/react-query
Advanced tools
Comparing version 5.38.0 to 5.39.0
@@ -12,4 +12,4 @@ import * as React from 'react'; | ||
} | ||
declare const HydrationBoundary: ({ children, options, state, queryClient, }: HydrationBoundaryProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>; | ||
declare const HydrationBoundary: ({ children, options, state, queryClient, }: HydrationBoundaryProps) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>>; | ||
export { HydrationBoundary, type HydrationBoundaryProps }; |
@@ -22,3 +22,3 @@ "use client"; | ||
const optionsRef = React.useRef(options); | ||
const result = React.useRef(); | ||
const result = React.useRef(null); | ||
if (!result.current) { | ||
@@ -25,0 +25,0 @@ result.current = getResult(mutationCache, options); |
@@ -12,4 +12,4 @@ import * as React from 'react'; | ||
} | ||
declare const HydrationBoundary: ({ children, options, state, queryClient, }: HydrationBoundaryProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>; | ||
declare const HydrationBoundary: ({ children, options, state, queryClient, }: HydrationBoundaryProps) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>>; | ||
export { HydrationBoundary, type HydrationBoundaryProps }; |
@@ -22,3 +22,3 @@ "use client"; | ||
const optionsRef = React.useRef(options); | ||
const result = React.useRef(); | ||
const result = React.useRef(null); | ||
if (!result.current) { | ||
@@ -25,0 +25,0 @@ result.current = getResult(mutationCache, options); |
{ | ||
"name": "@tanstack/react-query", | ||
"version": "5.38.0", | ||
"version": "5.39.0", | ||
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React", | ||
@@ -47,7 +47,8 @@ "author": "tannerlinsley", | ||
"devDependencies": { | ||
"@types/react": "^18.2.79", | ||
"@types/react-dom": "^18.2.25", | ||
"@types/react": "npm:types-react@rc", | ||
"@types/react-dom": "npm:types-react-dom@rc", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"eslint-plugin-react-compiler": "^0.0.0-experimental-c8b3f72-20240517", | ||
"react": "19.0.0-rc-4c2e457c7c-20240522", | ||
"react-dom": "19.0.0-rc-4c2e457c7c-20240522", | ||
"react-error-boundary": "^4.0.13" | ||
@@ -54,0 +55,0 @@ }, |
@@ -48,3 +48,3 @@ 'use client' | ||
const optionsRef = React.useRef(options) | ||
const result = React.useRef<Array<TResult>>() | ||
const result = React.useRef<Array<TResult>>(null) | ||
if (!result.current) { | ||
@@ -51,0 +51,0 @@ result.current = getResult(mutationCache, options) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1065482
7
21152