decord/source/__polyfill/04xxx/module_4998.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

42 lines
1.1 KiB
JavaScript

// Module ID: 4998
// Function ID: 4999
// Dependencies: [19, 17, 4996]
// Exports: useRenderDebugInfo
// Module 4998
import _mod4996 from "module_4996" /* 4996 */;
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 = _mod4996.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_4996").RNSLog;
RNSLog.log("" + arg0 + " [" + ref1.current + "] " + "rendered");
return ref;
};