useLocalSyncClient

Public Function

This is a temporary solution that will be replaced with the remote sync client once it has the db integrated

Parameters
NameDescription

{ universalPersistenceKey, instanceId, userId, config, }

{
  universalPersistenceKey: string
  instanceId: TLInstanceId
  userId: TLUserId
  config?: TldrawEditorConfig
}
Returns
SyncedStore
References

TLInstanceId, TLUserId, TldrawEditorConfig, SyncedStore

Edit this page
Last edited on 11 May 2023
TLLocalSyncClient