@ahooksjs/use-request
Advanced tools
Comparing version 2.4.0 to 2.5.0
{ | ||
"name": "@ahooksjs/use-request", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"description": "React Hooks for fetching, caching and updating asynchronous data", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -40,3 +40,3 @@ # useRequest | ||
```javascript | ||
import { useRequest } from '@ahooksjs/use-request'; | ||
import useRequest from '@ahooksjs/use-request'; | ||
@@ -43,0 +43,0 @@ const { data, error, loading, run } = useRequest('/api/user'); |
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
126214