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/binder

BinderEnvelope

interface · packages/ssr/src/binder.ts:64

interface BinderEnvelope<Model> {
  readonly model: Model
  readonly root?: Element | undefined
}

Members

BinderEnvelope.model#

property · packages/ssr/src/binder.ts:65

readonly model: Model

BinderEnvelope.root#

property · packages/ssr/src/binder.ts:66

readonly root?: Element | undefined
Previousfoldkit-ssr/binder

On this page

  • model
  • root

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