@statesync/svelte / SvelteApplyMode
Type Alias: SvelteApplyMode
ts
type SvelteApplyMode = "patch" | "replace";Defined in: svelte.ts:58
Controls how snapshot data is merged into the Svelte target.
'patch'(default) -- shallow-merges the mapped data into the current state, preserving keys not present in the snapshot.'replace'-- replaces the entire state with the mapped data, deleting keys that are no longer present (respectingpickKeys/omitKeysfilters).
