Modern Front-End Development for Rails, Second Edition: some typos in chapters 1-3

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_to
rather 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
Popular Prag Prog topics










Other popular topics










Latest in PragProg
Latest (all)
Categories:
Popular Portals
- /elixir
- /opensuse
- /rust
- /kotlin
- /ruby
- /erlang
- /python
- /clojure
- /react
- /quarkus
- /go
- /vapor
- /v
- /react-native
- /wasm
- /security
- /django
- /nodejs
- /centos
- /haskell
- /rails
- /fable
- /gleam
- /js
- /swift
- /deno
- /assemblyscript
- /tailwind
- /laravel
- /symfony
- /phoenix
- /crystal
- /typescript
- /debian
- /adonisjs
- /julia
- /arch-linux
- /svelte
- /spring
- /c-plus-plus
- /flutter
- /preact
- /actix
- /java
- /angular
- /ocaml
- /zig
- /kubuntu
- /scala
- /zotonic
- /vim
- /rocky
- /lisp
- /html
- /keyboards
- /nim
- /vuejs
- /emacs
- /nerves
- /elm