LiveNode class
Reactive boundary — re-evaluates builder inside a signal effect and patches only its own DOM region.
DOM Mounting and Sentinels
In the browser, LiveNode mounts to a pair of sentinel comments:
<!-- bloom:live --> and <!-- /bloom:live -->.
It establishes a fine-grained signals effect that automatically tracks
all signal reads occurring synchronously within builder. When any tracked
signal updates, the effect runs:
- Disposes all child effects, event listeners, and subscriptions owned by
the previous subtree's
_Region. - Executes builder to obtain the new descriptor tree.
- Updates or reconciles the DOM nodes positioned strictly between the sentinel comments, leaving the surrounding DOM untouched.
SSR Behavior
During server-side rendering (renderToHtml), builder is executed exactly
once synchronously to produce the static HTML output. No signals effects or
sentinels are created on the server.
Usually created using the DSL sugar Live.
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited