decord/source/__polyfill/04xxx/module_4996.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

42 lines
1.1 KiB
JavaScript

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