F+Foldkit Plus
HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

Bundle

Guides

foldkit-bundle

  • Overview
  • Composing a parent
  • Adding subscriptions: one media query, placed twice
  • The placed parts
  • Args, OutMessages, and helpers
  • Reacting to a child's Messages
  • Drawing with what the parent holds
  • Many of one: collections
  • Components with separate parts: Bundle.fromParts
  • A Link without a Bundle: Update.foldChild
  • Bodies that load on demand: Bundle.lazy
  • Services that load on demand: Resource
  • Extending a bundle
  • Gates and custom Links
  • Completeness: the wiring mistakes
  • A union Model: a Link per branch

foldkit-bundle-surface

  • Overview
  • Read a placement with Projections and Mirrors

Bundle and Submodel

  • Overview
  • Why package a child
  • One child, placed twice
  • What it does not change
  • When to use which

API

foldkit-bundle

  • foldkit-bundle

foldkit-bundle-surface

  • foldkit-bundle-surface

Open source, MIT
Foldkit 0.170 · Effect 4

Bundle / foldkit-bundle

AnyPlacedCollection

type · packages/bundle/src/collection.ts:146

type AnyPlacedCollection = PlacedCollection<
  string,
  any,
  any,
  any,
  any,
  any,
  any,
  any,
  any,
  any,
  any,
  any
>
Previousfoldkit-bundle

Edit on GitHub ↗

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

FoldkitEffectGitHub

Menu

HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

Bundle

Guides

foldkit-bundle
  • Overview
  • Composing a parent
  • Adding subscriptions: one media query, placed twice
  • The placed parts
  • Args, OutMessages, and helpers
  • Reacting to a child's Messages
  • Drawing with what the parent holds
  • Many of one: collections
  • Components with separate parts: Bundle.fromParts
  • A Link without a Bundle: Update.foldChild
  • Bodies that load on demand: Bundle.lazy
  • Services that load on demand: Resource
  • Extending a bundle
  • Gates and custom Links
  • Completeness: the wiring mistakes
  • A union Model: a Link per branch
foldkit-bundle-surface
  • Overview
  • Read a placement with Projections and Mirrors
Bundle and Submodel
  • Overview
  • Why package a child
  • One child, placed twice
  • What it does not change
  • When to use which

API

foldkit-bundle
  • foldkit-bundle
foldkit-bundle-surface
  • foldkit-bundle-surface

Open source, MIT
Foldkit 0.170 · Effect 4