Skip to main content
Awareness is a stateless fan-out channel. Updates are broadcast to all other subscribers in the namespace in real time but are never persisted. Use it for high-frequency transient state — cursor positions, text selections, “is typing” indicators — where speed matters more than durability.
If a client connects after a peer’s last update, it will not see that peer’s state until the peer sends another update. For durable presence with TTL-based cleanup, use Presence instead.

Usage

API

AwarenessEntry

Key differences from Presence

React

See useAwareness.