1.0.7 • Published 6 years ago

redux-mappers v1.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

redux-mappers

A simple library provides decorators to map state to props and map dispatch actions to props.

Usage

@mapStateToProps(state => ({
    id: state.data.id // whatever you want to map from state to props
})
@mapDispatchToProps( { dataAction: someAction } )
export class Container extends React.Component {
...
}

Licence

MIT

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago