Homepage
Sign in / Sign up
  • Share
Go to the profile of PatrickJS
Never miss a story from PatrickJS, when you sign up for Medium. Learn more
Never miss a story from PatrickJS
Go to the profile of PatrickJS
PatrickJS
Trainer and Co-Founder of @AngularClass, Open-Source with Universal Angular 2
Jan 3, 2016
Great catch — I forgot to finish that snippet! Corrected. Thanks so much Patrick!
Cory House
1

don’t forget to replace the “” with {}

onClick=”this.onSelect.bind(this, hero)”

should be

onClick={this.onSelect.bind(this, hero)}

  • Go to the profile of PatrickJS

    PatrickJS

    Trainer and Co-Founder of @AngularClass, Open-Source with Universal Angular 2