Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

http-react

Package Overview
Dependencies
Maintainers
0
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-react - npm Package Compare versions

Comparing version 3.7.1 to 3.7.2

10

dist/hooks/use-fetch.js

@@ -939,3 +939,11 @@ 'use client';

if (!hasInitialOrFallbackData) {
throw new Error(`Request with id "${id}" uses suspense but no fallback data was provided for SSR. See https://httpr.vercel.app/docs/fetch_config/defaults`);
throw new Error(`Request with id "${id}" uses suspense but no fallback data was provided for SSR. See https://httpr.vercel.app/docs/fetch_config/defaults.
If you want to use suspense without fallback data, wrap with the <Suspense> component from 'http-react', which renders <React.Suspense> client-side and the fallback ui server-side:
import { Suspense } from "http-react"
Learn more: https://httpr.vercel.app/docs/api#suspense
`);
}

@@ -942,0 +950,0 @@ }

2

package.json
{
"name": "http-react",
"version": "3.7.1",
"version": "3.7.2",
"description": "React hooks for data fetching",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc