Redux Toolkit configureStore middleware ordering when using a plain array
When using configureStore , developers can supply middleware as either a plain array or a callback that receives getDefaultMiddleware . The documentation notes that passing a plain array does not guarantee the relative order of custom middleware versus the default middleware chain ( serializableCheck , immutableCheck , thunk ). This creates uncertainty for m