destroy
destroy: () => void
getInitialState
getInitialState: () => FormEditorStore
getState
getState: () => FormEditorStore
setState
setState: (
partial:
| FormEditorStore
| Partial<FormEditorStore>
| (state: FormEditorStore) => FormEditorStore | Partial<FormEditorStore>,
replace?: boolean,
) => void
subscribe
subscribe: (
listener: (state: FormEditorStore, prevState: FormEditorStore) => void,
) => () => void
Deprecated
Use
createWithEqualityFnfrom 'zustand/traditional'