F+Foldkit Plus
HomeLearnPackagesComponentsDemosGitHub ↗

Bundle

Guides

foldkit-bundle

  • Overview
  • When to use it
  • Sixty seconds: one counter
  • Composing a parent
  • Adding subscriptions: one media query, placed twice
  • The placed parts
  • Args, OutMessages, and helpers
  • Reacting to a child's Messages
  • Many of one: collections
  • Components with separate parts: Bundle.fromParts
  • A Link without a Bundle: Update.foldChild
  • Bodies that load on demand: Bundle.lazy
  • Extending a bundle
  • Gates and custom Links
  • Completeness: the wiring mistakes

foldkit-bundle-surface

  • Overview
  • Sixty seconds
  • Reading a placement: 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.168 · Effect 4

Bundle / foldkit-bundle

AnyPlacedCollection

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

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