This document contains a list of important fixes made since the initial Amazon release (2.0.0). Note that the Amazon version has been patched with these changes so it's quite likely your paper book already has at least some of them, if not all.
- Page 8 - Added missing "that" to a sentence. "Given declarations" -> "Given that declarations" (2.0.4)
- Page 65 - Avoid event bubbling with
deleteNote
to make behavior more predictable across browsers (2.0.5). Example:
deleteNote = (id, e) => {
// Avoid bubbling to edit
e.stopPropagation();
this.setState({
notes: this.state.notes.filter(note => note.id !== id)
});
};
- Page 103 -
app/stores/NoteStore.jsx
->app/stores/NoteStore.js
(2.0.6) - Page 108 - Fixed code example. Swapped
export default class Editable extends React.Component {
withexport default class Note extends React.Component {
. (2.0.3)
- Pages 139 and 140 - Use
.jsx
extension instead of.js
for the examples. (2.0.4)
- Page 152 - Added missing
npm i clean-webpack-plugin --save-dev
. The plugin needs to be installed in order to work. (2.0.2) - Page 154 - Add missing
inject: false
toHtmlWebpackPlugin
declaration. (2.0.4)
- Page 203 - Updates ESLint configuration to ESLint 2 style. The old configuration will still work. The new one requires one less dependency. (2.0.3)