Skip to content

JotaiAdapterOptions

Defined in: index.ts:21

Options for createJotaiStore and createJotaiStoreSync.

PropertyTypeDescriptionDefined in
store?anyAn existing Jotai store to share. Defaults to a freshly-created one. Pass an external store to let other Jotai code (vanilla atoms via useAtom, atomWithStorage, Jotai devtools, etc.) interoperate with the action-driven state. Subscriptions stay coherent across both surfaces because they’re backed by the same store.index.ts:30