Skip to content

BuildFn

BuildFn = (spec) => RuntimeBuilder

Builds a root spec and every App it imports into a RuntimeBuilder.

AppSpec

Root App spec.

RuntimeBuilder

The resolved builders and a memoized toDefinition() for the whole composition.

Each canonical App is built once and shared by every importer. The identity App is imported automatically when the spec does not import it. An import cycle between specs throws.

When two specs import each other, directly or through other Apps.

Composition