Title: Modern Front-End Development for Rails, Second Edition P1.0
Hi @noelrappin , I am enjoying the book so far but just saw a few issues and typos I wanted to report
Chapter 1, Page 18 says:
Right now we need to update our dev scripts to use tsc-watch
The text leading up to this was all referring to tsconfig.json, so it’s not immediately clear that the dev scripts are in package.json
Chapter 2, Page 33 says:
… the recommendation is to use
button_torather thanklink_to, …
s/thank/than
Chapter 3, Page 58 says:
> fav = fav = document.querySelector...
The extra fav = seems unnecessary and this could be fav = document.querySelector...
> fav.dataset.favoriteToggleVisibleValue = "false"
"False"
After running fav.dataset.favoriteToggleVisibleValue = "false" in console for both Firefox and Chrome, I see "false" with lower case f as the output