Comparing version 4.1.2-canary.7 to 4.1.2-canary.8
@@ -34,3 +34,3 @@ import { useMemo, useSyncExternalStore, useState, useEffect } from "react"; | ||
const subscription = instance.observable.subscribe(() => { | ||
console.log("onStoreChange", observable), onStoreChange(); | ||
debug && console.log("onStoreChange", observable), onStoreChange(); | ||
}); | ||
@@ -37,0 +37,0 @@ return () => { |
{ | ||
"name": "react-rx", | ||
"version": "4.1.2-canary.7", | ||
"version": "4.1.2-canary.8", | ||
"description": "React + RxJS = <3", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -84,3 +84,5 @@ import {useMemo, useSyncExternalStore} from 'react' | ||
const subscription = instance.observable.subscribe(() => { | ||
console.log('onStoreChange', observable) | ||
if (debug) { | ||
console.log('onStoreChange', observable) | ||
} | ||
onStoreChange() | ||
@@ -87,0 +89,0 @@ }) |
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
44419
592