react-async-client's People
react-async-client's Issues
Console log handler cancelled on unmount
Refresh more than one same action with different params doesnt pass takeLatest
When you have two or more components connected
asyncConnect({
getDocument: getDocument.withParams('first')
})
...
asyncConnect({
getDocument: getDocument.withParams('second)
})
if you call them to refresh data - only one will closed - second would be fall for pending
Its happen because takeLastest
default saga taker
Need some params specific taker
asyncConnect stateToProps incorrect in refresh action
No constants in withPayoad
now we can pass constant in withParams
but cant in withPayoad
only functions supported:
@asyncConect({
action: action.withPayload(() => 'type').withParams('type')
})
https://github.com/experium/experium-web/pull/1432/files#diff-a76cd91b32b9bed3ad4c2ddc079647dfR32
withAsyncHandlers short syntax doesnt have params api
withAsyncHandlers({
formAction: {
successHandler: props => {
props.onSubmitSuccess && props.onSubmitSuccess(props);
},
errorHandler: props => {
props.onSubmitError && props.onSubmitError(props);
}
}
})
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.