Skip to content

Instantly share code, notes, and snippets.

@Jahans3 Jahans3/Decorators.js
Last active Jun 29, 2017

Embed
What would you like to do?
@connect(state => {
const { someStore: { someProperty } } = state
const somePropertyPlusOne = someProperty + 1
return {
somePropertyPlusOne
}
})
export default class MyContainer extends Component {
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.