Skip to content

Variable: OPTIONAL_STORE_PROPS

const OPTIONAL_STORE_PROPS: readonly ["delayOptions", "name", "onChange", "onError", "parse", "spaces", "storage", "stringify", "validate"]

Defined in: store/src/createStore.ts:19

Store property names that are optional/user-provided and should not be allowed in context.

This is used to avoid optional store properties being overriden by context properties