Comparing version 4.1.0-canary.5 to 4.1.0-canary.6
@@ -32,2 +32,3 @@ import { c } from "react-compiler-runtime"; | ||
$[2] !== instance.observable ? (t1 = (onStoreChange) => { | ||
console.count("subscribe"); | ||
const subscription_0 = instance.observable.subscribe(onStoreChange); | ||
@@ -41,3 +42,3 @@ return () => { | ||
$[4] !== instance.error || $[5] !== instance.snapshot ? (t2 = () => { | ||
if (instance.error) | ||
if (console.count("getSnapshot"), instance.error) | ||
throw instance.error; | ||
@@ -44,0 +45,0 @@ return instance.snapshot; |
{ | ||
"name": "react-rx", | ||
"version": "4.1.0-canary.5", | ||
"version": "4.1.0-canary.6", | ||
"description": "React + RxJS = <3", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -74,2 +74,3 @@ import {useCallback, useSyncExternalStore} from 'react' | ||
(onStoreChange: () => void) => { | ||
console.count('subscribe') | ||
const subscription = instance.observable.subscribe(onStoreChange) | ||
@@ -86,2 +87,3 @@ return () => { | ||
() => { | ||
console.count('getSnapshot') | ||
if (instance.error) { | ||
@@ -88,0 +90,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
45579
608