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

BINDER_KEY_ATTRIBUTE

const · packages/ssr/src/binder.ts:23

const BINDER_KEY_ATTRIBUTE: 'data-fk-key'

Attribute naming a child element's key inside an Order-bound container.

Previousfoldkit-ssr/binder

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