Susan Harkins (332) [Avatar] Offline
#1
Please post errors found in the published version of React Quickly here. If necessary, we'll publish a comprehensive list for everyone's convenience. Thank you!

Susan Harkins
Errata Editor
Manning Publications
468060 (104) [Avatar] Offline
#2
Can we now assume that the PDF version is now 100% the same as the printed version?
Susan Harkins (332) [Avatar] Offline
#3
Published versions are the same when published.

Susan Harkins
468060 (104) [Avatar] Offline
#4
It would make more sense to update the PDF if errors are found.
468060 (104) [Avatar] Offline
#5
Ip.71

'only in the places where it needs to be updated; that’s where you use the state data'

There should be a colon here, not a semi-colon.
468060 (104) [Avatar] Offline
#6
The gist is that as with other OOP languages,"

The phrase 'as with other OOP languages' is an aside. There should be a comma before it as well as after it.
468060 (104) [Avatar] Offline
#7
Let’s create a launchClock() method to do just that; you’ll call launchClock() in the constructor.

The semi-colon should be a colon.
468060 (104) [Avatar] Offline
#8
p.78

the absolute minimum required DOM elements will be affected.

Should be 'the minimum required number of DOM elements...' (or better, the smallest required number of DOM elements...)
10135 (6) [Avatar] Offline
#9
When will the ePub version match the "published" PDF? It's still the MEAP....
Susan Harkins (332) [Avatar] Offline
#10
The print version was published last week. The electronic formats are usually issued a couple of weeks afterward -- you should receive it soon. Thank you!

Susan Harkins
Errata Editor
435700 (2) [Avatar] Offline
#11
https://livebook.manning.com/#!/book/react-quickly/chapter-1/point-40-175-175-0

Shouldn't this paragraph say "thick server" instead of "think server"?
435700 (2) [Avatar] Offline
#12
https://livebook.manning.com/#!/book/react-quickly/chapter-1/point-41-176-176-0

Should say "The MVC-like architecture is the most popular approach, but NOT the only one." instead of "The MVC-like architecture is the most popular approach, but the only one. In fact"
302423 (1) [Avatar] Offline
#13
Quiz in Chapter 8 seems to have the wrong answer for the last question:

Question:

The main difference between the minified development and unminified production versions of the React library file is that the minified version has warnings and the unminified version has optimized code. True or false?


Answer:

True. The minified version doesn’t show warnings.

384963 (3) [Avatar] Offline
#14
Page 101 Ch05 Users App generates confusing error
JSON looks fine, directory reference seems fine


users.js:9 GET http://127.0.0.1:8080/ch05/users/real-user-data.json 404 (Not Found)
127.0.0.1/:1 Uncaught (in promise) SyntaxError: Unexpected token N in JSON at position 0
90062 (2) [Avatar] Offline
#15
On page 16 of the book it says “For example, PayPal switched from Dust to Angular, as did many other companies listed earlier in this chapter.” Is that supposed to as “React” instead of “Angular”?
90062 (2) [Avatar] Offline
#16
90062 wrote:On page 16 of the book it says “For example, PayPal switched from Dust to Angular, as did many other companies listed earlier in this chapter.” Is that supposed to say “React” instead of “Angular”?
Tim Carlson (8) [Avatar] Offline
#17
Chapter 3, page 51, listing 3.5

return <h1 {...this.properties}>

Should be:

return <h1 {...this.props}>

The following page references listing 3.5 and has it correct ("With {...this.props, you can pass every property to the child")
Tim Carlson (8) [Avatar] Offline
#18
Typo on page 71:

"this.state.autocompleMatches"

Should be:

"this.state.autocompleteMatches"

Tim Carlson (8) [Avatar] Offline
#19
deleted.
Tim Carlson (8) [Avatar] Offline
#20
Page 98, Listing 5.2

componentDidUpdate(oldProps, oldState) {
console.log('componentDidUpdate')
console.log('new props: ', oldProps)
console.log('old state: ', oldState)
}

Notice on the second log it will print 'new props: ..." when it should be 'old props: ...". Likely a copy-paste error smilie

Figure 5.4 also prints this incorrect log, so that will need to be updated as well.
Tim Carlson (8) [Avatar] Offline
#21
pg 146-147, listing 7.1

It seems implied that listing 7.1 is supposed to compile to make figure 7.3, however listing 7.1 is missing the <label>'s and <br/>'s that would format it to correctly match figure 7.3.
Tim Carlson (8) [Avatar] Offline
#22
pg 185, 8.6 Quiz, question 5

Q: The main difference between the minified development and unminified production versions of the React library file is that the minified version has warnings and the unminified version has optimized code. True or false?

A: True. The minified version doesn't show warnings.


The question is incorrectly phrased. It should be...

Q: The main difference between the unminified development and minified production versions of the React library file is that the unminified version has warnings and the minified version has optimized code. True or false?
Tim Carlson (8) [Avatar] Offline
#23
Chapter 11, pg 211, first NOTE

It appears this note was copied from chapter 10, because it talks about using "a theme called Flatly from Bootswatch". Bootswatch isn't used in the chapter 11 example code and, come to think of it, it isn't used in chapter 10 either.

So either the reference to Bootswatch should be removed from these chapters, or it should be added to the examples.
Tim Carlson (8) [Avatar] Offline
#24
pg. 267, Listing 13.12 (Rendering post data)

module.exports = function Product(props) {


The function name is Product when it should be Post. This is also in the example code on github...

https://github.com/azat-co/react-quickly/blob/master/ch13/router/jsx/post.jsx
https://github.com/azat-co/react-quickly/blob/master/ch13/backbone-router/jsx/post.jsx
abergquist (181) [Avatar] Offline
#25
Page 25, 1.4 Quiz, Question # 4

There is a mismatch between Question # 4:

You must include react-com.js in order to render React elements on a web page.
True or false?


and its answer on page 26:

4 True. You need the ReactDOM library.


Either:

1. "react-com.js" needs to be replaced with "react-dom.js" in the question or
2. the answer needs to be replaced with the following text:

4 False. You need the ReactDOM library (react-dom.js).

abergquist (181) [Avatar] Offline
#26
Page 22, WARNING text

"react-com.js" needs to be replaced with "react-dom.js" in the following sentence:

For most of the projects in part 1, you’ll need two files:
react.js and react-com.js.
abergquist (181) [Avatar] Offline
#27
If you have resolved a LiveBook issue, could you at the least apply a strikethrough font on the errata report (alternatively, you could delete it).

In either case, we'll know that that issue is now resolved.
Susan Harkins (332) [Avatar] Offline
#28
Corrections are often made to the LiveBook issues, but they're still valid for the print and electronic issues. Thanks!

Susan H.