bindRegion
Keeps a region in sync with value.
Keeps a region in sync with value. A value that is or contains a function (an accessor, or an
array with accessor members) runs inside a render effect, so its reads are tracked. Anything
else is inserted once.
Import#
ts
import { bindRegion } from "@shadow-js/web/extend";
Signature#
ts
function bindRegion(region: Region, value: unknown): unknown