decord/source/__polyfill/05xxx/module_5000.js
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

42 lines
1.1 KiB
JavaScript

// Module ID: 5000
// Function ID: 5001
// Dependencies: [19, 17, 4998]
// Exports: useRenderDebugInfo
// Module 5000
import _mod4998 from "module_4998" /* 4998 */;
import noop from "module_19" /* 19 */;
const require = globalThis.__r;
require = fn;
const findNodeHandle = fn(17).findNodeHandle;
export const useRenderDebugInfo = function useRenderDebugInfo(arg0) {
_require = arg0;
const ref = ref1.useRef(null);
ref1 = ref1.useRef(-1);
closure_3 = ref1.useEffectEvent((arg0) => {
const RNSLog = _mod4998.RNSLog;
RNSLog.log("" + closure_0 + " [" + ref1.current + "] " + arg0);
});
const effect = ref1.useEffect(() => {
if (null != ref.current) {
let num = findNodeHandle(tmp.current);
if (num == null) {
num = -1;
}
ref1.current = num;
if (-1 === ref1.current) {
closure_3("failed to find node handle");
}
}
closure_3("mounted");
return () => {
closure_1_3("unmounted");
};
}, []);
let RNSLog = require("module_4998").RNSLog;
RNSLog.log("" + arg0 + " [" + ref1.current + "] " + "rendered");
return ref;
};