erikras / erikras/react-redux-universal-hot-example
async call to work to load data from api server
Open
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
return {
types: [LOAD, LOAD_SUCCESS, LOAD_FAIL],
promise: (client) => client.get('http://localhost:3030/loadInfo')
};
Above part I want to call as getting data from another server api like below.
return {
types: [LOAD, LOAD_SUCCESS, LOAD_FAIL],
promise: (client) => client.get('http://test.com/api')
};
How to do this, please explain.
Contributor guide
Assessment
This issue has not been assessed yet.