@tanstack/react-query
Advanced tools
Comparing version 5.59.17 to 5.59.18
@@ -7,3 +7,3 @@ "use client"; | ||
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary) => { | ||
if (options.suspense || options.throwOnError) { | ||
if (options.suspense || options.throwOnError || options.experimental_prefetchInRender) { | ||
if (!errorResetBoundary.isReset()) { | ||
@@ -10,0 +10,0 @@ options.retryOnMount = false; |
@@ -7,3 +7,3 @@ "use client"; | ||
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary) => { | ||
if (options.suspense || options.throwOnError) { | ||
if (options.suspense || options.throwOnError || options.experimental_prefetchInRender) { | ||
if (!errorResetBoundary.isReset()) { | ||
@@ -10,0 +10,0 @@ options.retryOnMount = false; |
{ | ||
"name": "@tanstack/react-query", | ||
"version": "5.59.17", | ||
"version": "5.59.18", | ||
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -29,3 +29,7 @@ 'use client' | ||
) => { | ||
if (options.suspense || options.throwOnError) { | ||
if ( | ||
options.suspense || | ||
options.throwOnError || | ||
options.experimental_prefetchInRender | ||
) { | ||
// Prevent retrying failed query if the error boundary has not been reset yet | ||
@@ -32,0 +36,0 @@ if (!errorResetBoundary.isReset()) { |
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
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
1188981
23710