(label: string)
| 710 | |
| 711 | // A fallback on show that holds a child is drawn again, child included. |
| 712 | const shell = (label: string) => |
| 713 | Html.component({ name: "Shell", model: Schema.Number, message: Msg }) |
| 714 | .make({ |
| 715 | init: () => 0, |
| 716 | update: ($) => $.model, |
| 717 | view: (h) => |
| 718 | h.div( |
| 719 | h.span(label), |
| 720 | Broken(h, { key: "b", fallback: () => Row(h, { key: "r" }) }) |
| 721 | ) |
| 722 | }) |
| 723 | const Shell = shell("a") |
| 724 | yield* inContainer("swap-fallback", (el) => |
| 725 | Effect.gen(function*() { |
no test coverage detected