dva-actions
v0.1.0
Published
Extensible actions with easy to use for DvaJS.
Downloads
1
Readme
Usage
import { connect } from 'dva'
import { connectActions } from 'dva-actions'
class Data extends React.Component{
...
}
export default connect(({ dataModels }: ConnectState) => ({
...
}))(connectActions(Data, {
dataModels: [...],
}))