All checks were successful
Build-und-Deploy / build (push) Successful in 11s
minor change for pipeline test minor change for pipeline test minor change for pipeline test minor change for pipeline test minor change for pipeline test minor change for pipeline test minor change for pipeline test minor change for pipeline test minor change for pipeline test minor change for pipeline test minor change for pipeline test minor change for pipeline test Add Gitea Actions build workflow Add CI/CD pipeline Test Build & Deploy add pipeline add pipeline2 add pipeline3 add pipeline4 add pipeline 5 add pipeline 6 add pipeline 7 add pipeline 8 add pipeline 9 add pipeline 10 add pipeline 11 add pipeline 12 add pipeline 13 add pipeline 14 add pipeline 15 add pipeline 16 add pipeline 17 add pipeline 18 add pipeline 19 add pipeline 20 add pipeline 21 add pipeline 22 add pipeline 23 add pipeline 24 1 2 3
30 lines
940 B
TypeScript
30 lines
940 B
TypeScript
import { JSXSource, Fragment as reactFragment, jsxDEV as reactJsxDEV } from 'react/jsx-dev-runtime';
|
|
|
|
export const Fragment = reactFragment;
|
|
|
|
export function jsxDEV(
|
|
type: React.ElementType,
|
|
props: unknown,
|
|
key: React.Key | undefined,
|
|
isStatic: boolean,
|
|
source?: JSXSource,
|
|
self?: unknown
|
|
): React.ReactElement {
|
|
const realFreeze = Object.freeze;
|
|
try {
|
|
(Object as any).freeze = undefined; // prevent React from freezing the element
|
|
|
|
const reactElement: any = reactJsxDEV(type, props, key, isStatic, source, self);
|
|
if (source && !reactElement._source) {
|
|
// When running with React 19, put the source information on the _debugInfo array,
|
|
// which will be transferred to the fiber node by React
|
|
reactElement._debugInfo ??= [];
|
|
reactElement._debugInfo.source = source;
|
|
}
|
|
realFreeze(reactElement);
|
|
return reactElement;
|
|
} finally {
|
|
(Object as any).freeze = realFreeze;
|
|
}
|
|
}
|