Subscribe to a Ref's target object. Automatically dereferences the ref and handles async loading. Returns undefined if the ref hasn't loaded yet.
The Ref to dereference and subscribe to (can be reactive)
A tuple of [accessor, updateCallback]
Subscribe to a Ref's target object that may be undefined. Returns undefined if the ref is undefined or hasn't loaded yet.
The Ref to dereference and subscribe to (can be undefined/reactive)
A tuple of [accessor, updateCallback]
Subscribe to an entire Echo object. Returns the current object value accessor and an update callback.
The Echo object to subscribe to (can be reactive)
A tuple of [accessor, updateCallback]
Subscribe to an entire Echo object that may be undefined. Returns undefined if the object is undefined.
The Echo object to subscribe to (can be undefined/reactive)
A tuple of [accessor, updateCallback]
Subscribe to a specific property of an Echo object. Returns the current property value accessor and an update callback.
A tuple of [accessor, updateCallback]
Subscribe to a specific property of an Echo object that may be undefined. Returns undefined if the object is undefined.
A tuple of [accessor, updateCallback]
Subscribe to a specific property of a Ref's target object. Automatically dereferences the ref and handles async loading. Returns undefined if the ref hasn't loaded yet.
A tuple of [accessor, updateCallback]
Subscribe to a specific property of a Ref's target object that may be undefined. Returns undefined if the ref is undefined or hasn't loaded yet.
A tuple of [accessor, updateCallback]
Subscribe to an Echo object or Ref (entire object or specific property). Returns the current value accessor and an update callback.
Param: objOrRef
The Echo object or Ref to subscribe to (can be reactive)
Param: property
Optional property key to subscribe to a specific property
Returns
A tuple of [accessor, updateCallback]