decord/source/__polyfill/00xxx/module_335.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

24 lines
495 B
JavaScript

// Module ID: 335
// Function ID: 336
// Dependencies: [19]
// Exports: default
// Module 335
import noop from "module_19" /* 19 */;
({ useCallback: closure_0, useRef: closure_1 } = noop);
export default function useRefEffect(arg0) {
closure_0 = arg0;
framebus(undefined);
const items = [arg0];
return React((arg0) => {
if (ref.current) {
obj.current();
obj.current = undefined;
}
if (null != arg0) {
obj.current = closure_0(arg0);
}
}, items);
};