Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishiv committed Jun 27, 2024
1 parent 524b4ed commit a0d6d77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/core/state/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ export const createStore = <T = unknown>(
onChange.unsubscribe(observedObject);
},
};
console.log("storeManager", storeManager);
const observedObject = onChange(
obj as Record<any, any>,
(p, value, previousValue, change) => {
Expand Down Expand Up @@ -333,6 +334,7 @@ export const createStore = <T = unknown>(
observedObject,
storeManager
);
console.log("store", s);

storeManager.value = observedObject;
STORE_COUNTER++;
Expand Down
1 change: 0 additions & 1 deletion src/stdlib/Each/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export const Each: <T extends ArrayOrObject>(
const path: string[] = getCursor(cursor);

const value: any[] = getValueUsingPath(store.value as any, path) as any[];

const observor = function ({ data, path }: StoreChange) {
//console.debug("change", changes, path);

Expand Down

0 comments on commit a0d6d77

Please sign in to comment.