Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IContextOptions<T, A>

Base default context

Type parameters

  • T: Record<string, unknown>

  • A: IAction

Hierarchy

  • IContextOptions

Index

Properties

initialState?: T

The initial state of the Context.

reducer: Reducer<T, A>

The reducer for dispatching/updating Context.

Generated using TypeDoc