Props
| Prop | Type | Default | Description |
|---|---|---|---|
skipIf | boolean | false | Skip the entire sequence. Returns null; no children are mounted. |
children | ReactNode | undefined | Tasks and control-flow components to execute sequentially. |
Usage
When explicit Sequence is needed
<Workflow> sequences direct children implicitly. An explicit <Sequence> is needed inside other control-flow components:
<Sequence> groups run in parallel; tasks within each group run sequentially.
Conditional skipping
skipIf is true, the component returns null. No children are mounted into the execution plan.
Rendering
<Sequence> renders as a <smithers:sequence> host element (or null when skipped). The runtime assigns ordinals to tasks in source order.
Notes
- Child ordering matches JSX source order.
- Nestable inside
<Parallel>,<Branch>,<Loop>, or another<Sequence>. - An empty
<Sequence>is valid and produces no tasks.