UNPKG

@mui/internal-docs-infra

Version:

MUI Infra - internal documentation creation tools.

18 lines 1.28 kB
// The coordinated fallback<->content swap, plus the self-loading factory built // on it: `createCoordinatedLazy` produces one deferred piece (a demo, a chart, a // code frame). To stream a _list_ of pieces in on the client, use the separate // `@mui/internal-docs-infra/useStream` export. The server render functions // (`ChunkServerLoader`, `LazyContentServer`) are plain async components with no // Node-only imports, so they ship from this same entry - inert on the client. export { CoordinatedLazy } from "./CoordinatedLazy.mjs"; export { createCoordinatedLazy } from "./createCoordinatedLazy.mjs"; export { useChunk } from "./useChunk.mjs"; export { useCoordinatedSwap } from "./useCoordinatedSwap.mjs"; export { useCoordinatedFallback } from "./useCoordinatedFallback.mjs"; export { LazyContent } from "./LazyContent.mjs"; export { LazyContentServer } from "./LazyContentServer.mjs"; export { ChunkServerLoader } from "./ChunkServerLoader.mjs"; export { resolveChunkRender } from "./resolveChunkRender.mjs"; export { CoordinatedFallbackContext } from "./CoordinatedFallbackContext.mjs"; export { CoordinatedContentContext, useCoordinatedContent } from "./CoordinatedContentContext.mjs"; export { CoordinatedGateContext, useCoordinatedGate } from "./CoordinatedGateContext.mjs";