This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// Metro module 3804 (f3805).
import { useRef } from "react";
import { shallow } from "./isIterable";
export function useShallow(c13621_0) {
const ref = useRef(void 0);
return (a0) => {
let current = c13621_0(a0);
if (shallow(ref.current, current)) {
current = ref.current;
} else {
ref.current = current;
}
return current;
};
}