Errata

Building Isomorphic JavaScript Apps

Errata for Building Isomorphic JavaScript Apps

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
PDF Page 17
1st code snippet

<script>window.__state__=[[serialized_state]<]/script>

it should be

<script>window.__state__=[[serialized_state]]</script>

Junda Zhang  Dec 08, 2016 
PDF Page 41
2nd paragraph

a gulpfile.js filr

it should be

a gulpfile.js file

Junda Zhang  Dec 15, 2016 
PDF Page 50
Example 6-5 & 6-6

"laname" should be "lname" according to the template in Example 6-1

Junda Zhang  Dec 18, 2016 
PDF Page 61
Example 7-9

'<p>hello </p>'

should be

'<p>hello {{fname}} {{lname}}</p>'

(https://github.com/isomorphic-javascript-book/thaumoctopus-mimicus/blob/0.3.x/src/hello-controller.js)

Junda Zhang  Dec 20, 2016 
PDF Page 61
Example 7-8 & 7-12

SInce we removed the '/' route from the router, if we open up http://localhost:8000/ in browser, we can only see the 404 error instead of the expected hello message.

The correct url is http://localhost:8000/hello/{fname}/{lname}

Junda Zhang  Dec 20, 2016 
ePub Page 86
Compiling from ES5 to ES6

After installing babel the user have to add a .babelrc file to the project with contents:

{
"presets": ["es2015"]
}

before trying to transpiler to ES5, otherwise it will returned the same output in ES6.

Maybe it would be useful to add a note about this so the reader won't have to check out the babel documentation to figure out why is not transpiling.

figalex  Dec 24, 2016 
PDF Page 90
1st paragraph

"In Node cookies can be retrieved from the response header using the http module, as shown in Example 9-1."

"response header" should be "request header"

Junda Zhang  Jan 11, 2017 
ePub Page 168
Example 9-14

Example file reads "./src/lib/reply.js". From text and GitHub, it should be "./src/lib/reply.client.js".

Thad Humphries  Dec 12, 2016