-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Just an idea,
For now this library will not work on props change, as factory called on componentDidMount,
so any props change will not cause any changes.
But what if props become a stream, so it will be possible to create factories like
const myFactory = (props$) =>
(actions$, store) =>
props$
.map(...)
.distinctUntilChanged()
.map(p => ACTION(p))And this will allow to fetch data again on props change without recreating the component.
Metadata
Metadata
Assignees
Labels
No labels