I'm wondering if there is a way to inject a Redux store middleware after the store creation?
I'd like to have something like:
injectMiddleware(store, [middleware1, middleware2]);
In a similar way, we can replace the root reducer on the fly after the store creation with replaceReducer
https://redux.js.org/api-reference/store#replaceReducer.