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.
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
And this will allow to fetch data again on props change without recreating the component.