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>fork

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

Creates isolated instance of application. Primary purposes of this method are SSR and testing.

Parameters

optional
config: { values?: StorePair<any>[] | SerializedState | LegacyMap; handlers?: Handlers; }

optional configuration object with initial store values and effect handlers

Returns

new scope

Creates isolated instance of application. Primary purposes of this method are SSR and testing.

Parameters

domain: Domain

optional root domain

optional
config: { values?: SerializedState | LegacyMap | Array<[StoreWritable<any>, any]>; handlers?: Handlers; }

optional configuration object with initial store values and effect handlers

Returns

new scope