Data source -- changed state of store is not passed to remote method
Open
- Dominant language
- JavaScript
- Stars
- 3.4k
- Forks
- 312
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have simple data source and its loading action changes state of store. Problem is that to sources method `remote` is passed old state without change made by loading action.
How should by handled loading action in store?
```
onLoading() {
this.setState({key: value})
}
```
or
```
onLoading() {
this.key = value;
}
```
Both does not work for me.
Thank you.
Contributor guide
Assessment
This issue has not been assessed yet.