vite-plugin-react-server
Version:
Vite plugin for React Server Components (RSC)
11 lines • 570 B
TypeScript
import type { CreateHandlerOptions } from "../types.js";
import type { RscRenderContext } from "../stream/renderRscStream.types.js";
/**
* Pure function for creating React element
* This is environment-agnostic and can be used in both client and server
*/
export declare function createReactElement(options: CreateHandlerOptions, context: RscRenderContext): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
/**
* Pure function for storing headless stream data
*/
//# sourceMappingURL=createRscRenderHelpers.server.d.ts.map