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
Is your feature request related to a problem? Please describe.
The current FSCache relies on cache Redux Middleware in order to intercept and react to dispatching actions before they reach the reducers. However, with v1.8.0 of @reduxjs/toolkit there is a new alternative in the form of createListenerMiddleware.
Describe the solution you'd like
Replace the custom-built cache Redux Middleware with the new createListenerMiddleware.
Describe alternatives you've considered
Keeping the custom middleware in place for the foreseeable future is an alternative, but eventually there is likely to be very useful updates to createListenerMiddleware and taking advantage of those would still require making this transition.
Additional context
There are several issues that tracked the development of this new API, including:
Is your feature request related to a problem? Please describe.
The current
FSCache
relies oncache
Redux Middleware in order to intercept and react to dispatching actions before they reach the reducers. However, with v1.8.0 of@reduxjs/toolkit
there is a new alternative in the form ofcreateListenerMiddleware
.Describe the solution you'd like
Replace the custom-built
cache
Redux Middleware with the newcreateListenerMiddleware
.Describe alternatives you've considered
Keeping the custom middleware in place for the foreseeable future is an alternative, but eventually there is likely to be very useful updates to
createListenerMiddleware
and taking advantage of those would still require making this transition.Additional context
There are several issues that tracked the development of this new API, including:
The text was updated successfully, but these errors were encountered: