Skip to main content

foundation-redux

Home > @genesislcap/foundation-redux

foundation-redux package​

Functions​

Function

Description

createStore(slices, preloadedState, options)

Creates a Redux store with FAST component integration.

Interfaces​

Interface

Description

CreateStoreOptions

Options for createStore().

Slice

Represents a Redux slice with actions and selectors.

Type Aliases​

Type Alias

Description

ActionsFromSlices

Extracts the bound actions type from an array of slices.

RootStateFromSlices

Extracts the root state type from an array of slices.

SelectorsFromSlices

Extracts the bound selectors type from an array of slices.

SliceArray

An array of slices that will be combined into a single store.

StoreReturn

The return type of the createStore function.

ThunkDispatch

Type for thunk actions that can be dispatched to the store.