Unfortunately some errors are discovered after the book is published. Here I will describe updates for the current version of the book.
Instead of:
npm install --save-dev babelify
Use:
npm install --save-dev babelify@^6.2.0
Instead of:
npm install --save-dev jest-cli
Use:
npm install --save-dev jest-cli@^0.4
Instead of:
<Tweet tweet={tweet} onImageClick={this.props.onAddTweetToCollection} />Use:
<Tweet tweet={this.props.tweet} onImageClick={this.props.onAddTweetToCollection} />And instead of:
<Tweet tweet={tweet} onImageClick={this.addTweetToCollection} />Use:
<Tweet tweet={this.props.tweet} onImageClick={this.addTweetToCollection} />Please contact Artemij: reactessentials@gmail.com