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
Higher order stores are a new powerful extension mechanism for Redux. It's more powerful than middleware so you should only use it if you need something the middleware can't do:
transform the state
ignore some actions
introduce asynchrony
fire some actions “out of the blue”
There is some work in progress on higher-order store docs. This doc should introduce you to the idea.
I created this issue to discuss potential applications of higher order stores.
These are what I have in mind:
Time travel (Time travel #113) in Redux DevTools (already implemented)
Persisting state in development across reloads (already implemented)
I'm playing around with something similar using scuttlebutt (https://www.npmjs.com/package/scuttlebutt) because of its ecosystem like integrations with localstorage and leveldb. I'm calling it "redux-gossip". I was using a custom thunk for this, which gave me some problems. A higher order store is definitely the way to go. Thanks for this!
Higher order stores are a new powerful extension mechanism for Redux. It's more powerful than middleware so you should only use it if you need something the middleware can't do:
There is some work in progress on higher-order store docs. This doc should introduce you to the idea.
I created this issue to discuss potential applications of higher order stores.
These are what I have in mind:
Anything else?
The text was updated successfully, but these errors were encountered: