Comparing version 4.1.0-canary.6 to 4.1.0
@@ -32,3 +32,2 @@ import { c } from "react-compiler-runtime"; | ||
$[2] !== instance.observable ? (t1 = (onStoreChange) => { | ||
console.count("subscribe"); | ||
const subscription_0 = instance.observable.subscribe(onStoreChange); | ||
@@ -42,3 +41,3 @@ return () => { | ||
$[4] !== instance.error || $[5] !== instance.snapshot ? (t2 = () => { | ||
if (console.count("getSnapshot"), instance.error) | ||
if (instance.error) | ||
throw instance.error; | ||
@@ -45,0 +44,0 @@ return instance.snapshot; |
{ | ||
"name": "react-rx", | ||
"version": "4.1.0-canary.6", | ||
"version": "4.1.0", | ||
"description": "React + RxJS = <3", | ||
@@ -65,2 +65,11 @@ "keywords": [ | ||
], | ||
"scripts": { | ||
"build": "pkg build --strict --clean --check", | ||
"dev": "pnpm --filter 'react-rx-website' dev", | ||
"format": "prettier --cache --write .", | ||
"lint": "eslint --cache .", | ||
"prepublishOnly": "pnpm build", | ||
"test": "vitest run --typecheck", | ||
"watch": "pnpm build -- --watch" | ||
}, | ||
"browserslist": "extends @sanity/browserslist-config", | ||
@@ -107,10 +116,3 @@ "prettier": "@sanity/prettier-config", | ||
}, | ||
"scripts": { | ||
"build": "pkg build --strict --clean --check", | ||
"dev": "pnpm --filter 'react-rx-website' dev", | ||
"format": "prettier --cache --write .", | ||
"lint": "eslint --cache .", | ||
"test": "vitest run --typecheck", | ||
"watch": "pnpm build -- --watch" | ||
} | ||
} | ||
"packageManager": "pnpm@9.12.3" | ||
} |
@@ -74,3 +74,2 @@ import {useCallback, useSyncExternalStore} from 'react' | ||
(onStoreChange: () => void) => { | ||
console.count('subscribe') | ||
const subscription = instance.observable.subscribe(onStoreChange) | ||
@@ -87,3 +86,2 @@ return () => { | ||
() => { | ||
console.count('getSnapshot') | ||
if (instance.error) { | ||
@@ -90,0 +88,0 @@ throw instance.error |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
45176
604