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

API

foldkit-ssr

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

foldkit-host

  • foldkit-host

Open source, MIT
Foldkit 0.170 · Effect 4

SSR / foldkit-ssr/loader

load

function · packages/ssr/src/loader.ts:103

function load(options: LoaderOptions): void

Starts the page's runtime as its plan says, holding what it must answer until it runs.

Previousfoldkit-ssr/loader

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

API

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

Open source, MIT
Foldkit 0.170 · Effect 4