You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using redux-offline and that library requires a specific order for theirenhancer. More info
// order required for the offline enhancer. compose(offlineEnhancer.enhanceStore,// <-- this one has to be added before the middlewareapplyMiddleware(offlineEnhancer.middleware))
But on this library, the order is per default the opposite:
// redux-starter-kit/src/configureStore line 143conststoreEnhancers=[middlewareEnhancer, ...enhancers]constcomposedEnhancer=finalCompose(...storeEnhancers)asStoreEnhancerreturncreateStore(rootReducer,preloadedStateasDeepPartial<S>,composedEnhancer)
Can we have a workaround to allow this kind of scenario?. Both libraries are great and I would like to use it together.
The text was updated successfully, but these errors were encountered:
I'm using
redux-offline
and that library requires a specific order for theirenhancer
. More infoBut on this library, the order is per default the opposite:
Can we have a workaround to allow this kind of scenario?. Both libraries are great and I would like to use it together.
The text was updated successfully, but these errors were encountered: