Server: Phase 2 (REVIEW not respected yet)

This commit is contained in:
Thomas Karner committed 2026-09-21 11:24:43 +02:00
1 parent 5d16ded553
commit 142b47674d
4271 files changed
+1203269

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
"use client";
import * as React$1 from "react";
import { isServer } from "@tanstack/router-core/isServer";
/**
* React.use if available (React 19+), undefined otherwise.
* Use dynamic lookup to avoid Webpack compilation errors with React 18.
*/
var reactUse = React$1["use"];
var useLayoutEffect = isServer ?? typeof window === "undefined" ? React$1.useEffect : React$1.useLayoutEffect;
//#endregion
export { reactUse, useLayoutEffect };
//# sourceMappingURL=utils.js.map