A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://liveblocks.io/docs/api-reference/liveblocks-redux below:

@liveblocks/redux | API Reference

API Reference - @liveblocks/redux

@liveblocks/redux provides you with Redux bindings for our realtime collaboration APIs, built on top of WebSockets. Read our getting started guides to learn more.

Enhancer

Enhancer that lets you connect a Redux state to Liveblocks Presence and Storage features.

client

See different authentication methods in the createClient method.

presenceMapping

Mapping used to synchronize a part of your Redux state with one Liveblocks room presence.

storageMapping

Mapping used to synchronize a part of your Redux state with one Liveblocks Room storage.

Actions ENTER

Dispatch enterRoom action to enter a room and start sync it with Redux state.

LEAVE

Dispatch leaveRoom action to leave the current room and stop syncing it with Redux state.

state.liveblocks

Liveblocks extra state attached by the enhancer.

others

Other users in the room. Empty when no room is currently synced.

isStorageLoading

Whether the room storage is currently loading.

status

Gets the current WebSocket connection status of the room.

The possible value are: initial, connecting, connected, reconnecting, or disconnected.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4