decord/source/__polyfill/04xxx/module_4262.js
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

22 lines
454 B
JavaScript

// Module ID: 4262
// Function ID: 4263
// Dependencies: [19, 4261]
// Exports: useShallow
// Module 4262
import noop from "module_19" /* 19 */;
export const useShallow = function useShallow(arg0) {
closure_0 = arg0;
noop.useRef(undefined);
return (arg0) => {
let current = closure_0(arg0);
if (obj.shallow(ref.current, current)) {
current = tmp.current;
} else {
tmp.current = current;
}
return current;
};
};