<Attach> / attachWhen
Attach content when an expression is truthy.
import { Attach } from "rvx";
<Attach when={someCondition}>
Hello World!
</Attach>
import { attachWhen } from "./rvx.js";
attachWhen(someCondition, "Hello World!")
Note
This view has no effect on the context or lifecycle of it's content.
If you need access to truthy condition results, use <Show>
instead.