asyncredux-streams-timers
Installation
SKILL.md
AsyncRedux Streams and Timers
Core Principles
Two fundamental rules for working with streams and timers in AsyncRedux:
-
Don't send streams or timers down to widgets. Don't declare, subscribe, or unsubscribe to them inside widgets.
-
Don't put streams or timers in the Redux store state. They produce state changes, but they are not state themselves.
Instead, store streams and timers in the store's props - a key-value container that can hold any object type.
Store Props API
AsyncRedux provides methods for managing props in both Store and ReduxAction:
setProp(key, value)
Stores an object (timer, stream subscription, etc.) in the store's props: