first commit

This commit is contained in:
ghazall-ag
2026-01-01 21:35:03 +03:30
commit 1f7f2f8f86
15308 changed files with 1647442 additions and 0 deletions

1
node_modules/zustand/esm/react/shallow.d.mts generated vendored Normal file
View File

@@ -0,0 +1 @@
export declare function useShallow<S, U>(selector: (state: S) => U): (state: S) => U;

12
node_modules/zustand/esm/react/shallow.mjs generated vendored Normal file
View File

@@ -0,0 +1,12 @@
import React from 'react';
import { shallow } from 'zustand/vanilla/shallow';
function useShallow(selector) {
const prev = React.useRef(void 0);
return (state) => {
const next = selector(state);
return shallow(prev.current, next) ? prev.current : prev.current = next;
};
}
export { useShallow };