feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
+12
View File
@@ -0,0 +1,12 @@
import serverDrawingState from 'server-reactive:drawings?diff'
import { createSyncState } from './syncState'
export type DrawingsState = Record<number, string | undefined>
export const {
init: initDrawingState,
onPatch: onPatchDrawingState,
onUpdate: onDrawingUpdate,
patch: patchDrawingState,
state: drawingState,
} = createSyncState<DrawingsState>(serverDrawingState, serverDrawingState, __SLIDEV_FEATURE_DRAWINGS_PERSIST__)