ConstThe Ref to dereference and subscribe to
The current target snapshot (or undefined if not loaded) and update callback
Hook to subscribe to a Ref's target object that may be undefined. Returns a snapshot (undefined if the ref is undefined or hasn't loaded yet).
The Ref to dereference and subscribe to (can be undefined)
The current target snapshot (or undefined) and update callback
Hook to subscribe to an entire Echo object. Returns a snapshot of the current object value and automatically re-renders when the object changes.
The Echo object to subscribe to (objects only, not relations)
The current object snapshot and update callback
Hook to subscribe to an entire Echo object that may be undefined. Returns a snapshot (undefined if the object is undefined).
The Echo object to subscribe to (can be undefined, objects only)
The current object snapshot (or undefined) and update callback
Hook to subscribe to an Echo object or Ref. Handles both cases - if passed a Ref, dereferences it and subscribes to the target. Returns a snapshot (undefined if ref hasn't loaded).
The current object snapshot (or undefined) and update callback
Hook to subscribe to a specific property of an Echo object. Returns the current property value and automatically re-renders when the property changes.
The current property value and update callback
Hook to subscribe to a specific property of an Echo object that may be undefined. Returns undefined if the object is undefined.
The current property value (or undefined) and update callback
Hook to 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.
The current property value (or undefined if not loaded) and update callback
Hook to 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.
The current property value (or undefined) and update callback
Hook to subscribe to a Ref's target object. Automatically dereferences the ref and handles async loading. Returns a snapshot (undefined if the ref hasn't loaded yet).