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
{{ message }}
This repository has been archived by the owner on May 17, 2019. It is now read-only.
Redux store enhancers dont have a way to access Context.
Type of issue
Feature request
Description
I created a plugin to allow cookie manipulation on the browser and server and would like to be able to access that plugin in a redux middleware. The use case is to set a cookie when a certain action is fired. Unless I'm missing something I would need to have access to the Context when creating that middleware (in order to get the cookie plugin via dep/token).
Current behavior
Currently enhancers (besides ctxEnhancer) are not passed ctx, code here:
Redux store enhancers dont have a way to access Context.
Type of issue
Feature request
Description
I created a plugin to allow cookie manipulation on the browser and server and would like to be able to access that plugin in a redux middleware. The use case is to set a cookie when a certain action is fired. Unless I'm missing something I would need to have access to the Context when creating that middleware (in order to get the cookie plugin via dep/token).
Current behavior
Currently enhancers (besides
ctxEnhancer
) are not passedctx
, code here:fusion-plugin-react-redux/src/browser.js
Line 44 in 593de8e
Expected behavior
Enhancers are changed to be returned from a function that is passed Context.
The text was updated successfully, but these errors were encountered: