decord/beta/source/hooks/useInitialValue.tsx

19 lines
570 B
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 6170
// Function ID: 6171
2026-10-02 13:37:24 +00:00
// Name: useInitialValue
// Dependencies: [19, 558, 2]
// Exports: default
2026-10-12 16:32:48 +00:00
// Module 6170 (useInitialValue)
2026-10-01 14:13:23 +00:00
import react from "react" /* 19 */;
2026-10-02 13:37:24 +00:00
import ReactCompilerGating_mod from "ReactCompilerGating" /* 558 */;
2026-10-01 14:13:23 +00:00
import size from "module_2" /* 2 */;
2026-10-02 13:37:24 +00:00
let ReactCompilerGating = ReactCompilerGating_mod;
ReactCompilerGating = ReactCompilerGating.isReactCompilerEnabled();
const result1 = size.fileFinishedImporting("hooks/useInitialValue.tsx");
2026-10-12 16:32:48 +00:00
export default function useInitialValue(arg0) {
return react.useState(arg0)[0];
};