
Charles
Programming Phoenix LiveView: book not updated to version 1.6 (p. 18)
In general, the book isn’t yet updated for Phoenix version 1.6. On page 18 of the book, the authors indicate that an auto generated of router.ex should contain:
scope "/", PentoWeb do
pipe_through :browser
live "/", PageLive, :index
end
This code is no longer generated. Specifically, the line:
live "/", PageLive, :index
This is troubling since this occurs in the “Getting to Know LiveView” section, the very section that should be easy to understand for first time users.
Most Liked

SophieDeBenedetto
Hi @Charles! We’re in the process of updating the book for the latest Phoenix and LiveView projects. The next release, which anyone who has already purchased the book will have access to, will be fully up to date. As you can imagine, there are a lot of changes to accommodate, so stay tuned for the up-to-date version in the next few months.

SophieDeBenedetto
Hello! We’re hard at work with the final round of revisions today so keep an eye out for the next Beta release soon–aiming for sometime in January if all goes according to plan.

SophieDeBenedetto
Yep that change will be reflected too! The new version should be out in the next few days in fact
Popular Prag Prog topics










Other popular topics










Latest in PragProg
Latest (all)
Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /js
- /rails
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /opensuse
- /ash
- /centos
- /php
- /deepseek
- /zig
- /scala
- /html
- /debian
- /nixos
- /lisp
- /agda
- /textmate
- /sublime-text
- /react-native
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /manjaro
- /django
- /spring
- /diversity
- /lua
- /nodejs
- /slackware
- /c
- /julia
- /neovim