Example: MyApp Change
A Change instantiated with the app’s block type, so its ReplaceBlock ops are validated strictly against core blocks plus Poll instead of the open default.

instantiation of ⟨Block = ⟩

A Change bound to this app's block type: Change<example/app-block>. It instantiates the generic Change with Block set to app-block. Its ReplaceBlock ops are checked strictly against the app's blocks, core plus Poll, deep inside the op stack. A block type the app does not know is rejected. The default Change is open and accepts it.

This page describes the example/myapp-change type, one of the example schemas. The formal schema is attached as the schemaDefinition in this page's metadata, so the app can show it and create values of this type.

See also

    app-block: the block union it binds.

    Generic: schemas parameterized over a type.

    Change: the generic Change blob.

    Examples: every example, grouped by feature.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime