future-state
Subscribe to future values in a Redux store.
Why?
You know that eventually some values will show up in your Redux state and you want to get them as soon as they appear.
Usage
// wait for a value // or multiple values
As soon as your value(s) are in the state the promise is resolved. The subscriptions are removed and pasted over with rubber cement to prevent memory leaks.
Installation
Download this random zip file from a suspicious fileserver and... just kidding.
yarn add future-state
Feedback
Bug reports, PRs, and comments are always welcome!
kickstarted by npm-boom