F+Foldkit Plus
HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

SSR

Guides

foldkit-ssr

  • Overview
  • How the handover works
  • Serving pages
  • Checking what the browser will read
  • State the slice cannot carry
  • Resumable pages: answering before the runtime boots
  • Forms that work without scripts
  • A reader's preferences in the first frame
  • When a page is refused
  • Diagnostics
  • The application in these examples

foldkit-host

  • Overview
  • What each host part owns
  • Built once per isolate
  • The template and its build
  • With Remote, auth and pages
  • On Node

Pages that work without JavaScript

  • Overview
  • A first form that works both ways
  • How GET, POST, and hydration share one owner map
  • Everything shown is in the HTML
  • The address is the state a GET carries
  • Both kinds of control, drawn on both sides
  • A virtual list pages by links
  • State between two posts
  • Testing it
  • What it costs

Make a page answer before the framework loads

  • Overview
  • Example

Cut script by Message

  • Overview
  • Example

API

foldkit-ssr

  • foldkit-ssr
  • foldkit-ssr/client
  • foldkit-ssr/loader
  • foldkit-ssr/binder
  • foldkit-ssr/vite

foldkit-host

  • foldkit-host

Open source, MIT
Foldkit 0.170 · Effect 4

SSR / foldkit-ssr/vite

ManifestEntry

interface · packages/ssr/src/vite/manifest.ts:13

interface ManifestEntry {
  readonly chunk: string
  readonly with: ReadonlyArray<string>
}

One tag's home chunk and any companion chunks (e.g. Command Effects) loaded alongside it.

Members

ManifestEntry.chunk#

property · packages/ssr/src/vite/manifest.ts:14

readonly chunk: string

ManifestEntry.with#

property · packages/ssr/src/vite/manifest.ts:15

readonly with: ReadonlyArray<string>
Previousfoldkit-ssr/vite

On this page

  • chunk
  • with

Edit on GitHub ↗

This site is a Foldkit Plus application, rendered at build time with foldkit-ssr. Its source

FoldkitEffectGitHub

Menu

HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

SSR

Guides

foldkit-ssr
  • Overview
  • How the handover works
  • Serving pages
  • Checking what the browser will read
  • State the slice cannot carry
  • Resumable pages: answering before the runtime boots
  • Forms that work without scripts
  • A reader's preferences in the first frame
  • When a page is refused
  • Diagnostics
  • The application in these examples
foldkit-host
  • Overview
  • What each host part owns
  • Built once per isolate
  • The template and its build
  • With Remote, auth and pages
  • On Node
Pages that work without JavaScript
  • Overview
  • A first form that works both ways
  • How GET, POST, and hydration share one owner map
  • Everything shown is in the HTML
  • The address is the state a GET carries
  • Both kinds of control, drawn on both sides
  • A virtual list pages by links
  • State between two posts
  • Testing it
  • What it costs
Make a page answer before the framework loads
  • Overview
  • Example
Cut script by Message
  • Overview
  • Example

API

foldkit-ssr
  • foldkit-ssr
  • foldkit-ssr/client
  • foldkit-ssr/loader
  • foldkit-ssr/binder
  • foldkit-ssr/vite
foldkit-host
  • foldkit-host

Open source, MIT
Foldkit 0.170 · Effect 4