New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constructor - calling super and bind #74
Comments
|
Seems like you are not using import { connect } from 'react-redux' ... your component... export default connect(mapStateToProps, actionCreators)(Calendar) |
Closing this because it's not related to the boilerplate. However, I suggest watching Dan Abramov's courses on Redux:
Also check out the |
Hi @jaredpalmer , started working on a project using your starter-project. Great work!
I have a question about dispatching redux actions on user interactions (e.g. button click). My questions is more about the right syntax. In the past I called the constructor and called the bind function like that:
I think you have a babel-plugin installed which allows you to avoid writing the "extends React.Component" all the time. I cant see 'bindActionCreators' as well.
Question, how would I write above in the way it could be used in your starter project?
The text was updated successfully, but these errors were encountered: