@liveblocks/redux
provides you with Redux
bindings for our real-time collaboration APIs, built on top of WebSockets. Read
our getting started guides to learn more.
Enhancer that lets you connect a Redux state to Liveblocks Presence and Storage features.
See different authentication methods in the createClient
method.
Mapping used to synchronize a part of your Redux state with one Liveblocks room presence.
Mapping used to synchronize a part of your Redux state with one Liveblocks Room storage.
Dispatch enterRoom
action to enter a room and start sync it with Redux state.
roomId
: The room’s ID.Dispatch leaveRoom
action to leave a room and stop sync it with Redux state.
roomId
: The room’s ID.Liveblocks extra state attached by the enhancer.
Other users in the room. Empty when no room is currently synced.
Whether or not the room storage is currently loading.
Gets the current WebSocket connection status of the room.
The possible value are: initial
, connecting
, connected
, reconnecting
, or
disconnected
.
Legacy connection status of the room. This property exists for backward compatibility reasons, but it’s no longer recommended.
The value can be: authenticating
, connecting
, open
, failed
, closed
or
unavailable
.