Skip to content

Function: combineEnhancers()

combineEnhancers(...enhancers): StoreEnhancer

Defined in: utils.ts:98

Combines multiple store enhancers into a single enhancer function. This allows multiple enhancers to be applied in sequence to the store. Typically used for combining middleware, logging, or other store customizations.

Parameters

enhancers

...StoreEnhancer[]

An array of store enhancers to be combined.

Returns

StoreEnhancer

A single store enhancer that applies all provided enhancers.

Released under the MIT License.