Function: applyMiddleware()
applyMiddleware(...
middlewares
):StoreEnhancer
Defined in: utils.ts:282
Applies middleware to the store's dispatch function. Middleware enhances the dispatch function, allowing actions to be intercepted and modified.
Parameters
middlewares
...Function
[]
Middleware functions to apply.
Returns
A store enhancer that applies the middleware to the store.