- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스) - Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포 - 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
638 B
JavaScript
22 lines
638 B
JavaScript
// lib/react-compiler-runtime.js
|
|
const $empty = Symbol.for('react.memo_cache_sentinel');
|
|
const React = require('react');
|
|
/**
|
|
* DANGER: this hook is NEVER meant to be called directly!
|
|
*
|
|
* Note that this is a temporary userspace implementation of this function
|
|
* from React 19. It is not as efficient and may invalidate more frequently
|
|
* than the official API. Please upgrade to React 19 as soon as you can.
|
|
**/
|
|
export function c(size) {
|
|
return React.useState(() => {
|
|
const $ = new Array(size);
|
|
for (let ii = 0; ii < size; ii++) {
|
|
$[ii] = $empty;
|
|
}
|
|
// @ts-ignore
|
|
$[$empty] = true;
|
|
return $;
|
|
})[0];
|
|
}
|