Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/effector/packages/effector/index.d.ts>createStore

Business logic with ease ☄️
Go to Latest
function createStore
import { createStore } from "https://deno.land/x/effector@effector-react%4023.2.0/packages/effector/index.d.ts";

Creates a store

Type Parameters

State
optional
SerializedState extends Json = Json

Parameters

defaultState: State

default state

optional
config: { skipVoid?: boolean; name?: string; sid?: string; updateFilter?: (update: State, current: State) => boolean; serialize?: "ignore" | { write: (state: State) => SerializedState; read: (json: SerializedState) => State; }; domain?: Domain; }

optional configuration object