@nanostores/query
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "@nanostores/query", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Tiny remote data fetching library for Nano Stores", | ||
@@ -41,2 +41,6 @@ "scripts": { | ||
"require": "./dist/nanoquery.umd.cjs" | ||
}, | ||
"./react-native": { | ||
"types": "./dist/main.d.ts", | ||
"require": "./dist/nanoquery.native.cjs" | ||
} | ||
@@ -43,0 +47,0 @@ }, |
@@ -318,1 +318,7 @@ # Nano Stores Query | ||
React Native is fully supported. For `revalidateOnReconnect` to work, you need to install `@react-native-community/netinfo` package. It's optional: if you don't `reconnect` just won't trigger revalidation. The rest works as usual. | ||
If you use [package exports](https://reactnative.dev/blog/2023/06/21/package-exports-support#enabling-package-exports-beta), you can import the library as usual. Otherwise, do this: | ||
```ts | ||
import { nanoquery } from "@nanostores/query/react-native"; | ||
``` |
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
64465
324