API Reference - @liveblocks/redux
Enhancer that lets you connect a Redux state to Liveblocks Presence and Storage features.
See different authentication methods at @liveblocks-client#createClient.
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 id of the room.initialState
: The initial state of the room storage.
Dispatch leaveRoom
action to leave a room and stop sync it with redux state.
roomId
: The id of the room.
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.
Connection state of the room.
The value can be : authenticating
, connecting
, open
, failed
, closed
or unavailable
.