Programming Phoenix LiveView (Pragmatic Bookshelf)

Most Active This Week Top

Most Active This Month Top

ishan
Title: Programming Phoenix LiveView I am not sure if this an appropriate way to send feedback for this book. It seems like the defacto i...
New

Most Active This Year Top

balazsjuhasz
At start of the page log_out_user/1on_mount/4 should be on separate lines iex> exports PentoWeb.UserAuth __phoenix_verify_routes__/1 ...
New
treejamie
Title: Programming Phoenix LiveView: Mount and Render the Product Index • 115 … let’s examine the socket assigns now. Add the following...
New
belgoros
The latest book version, B 13.0 supposes to use the latest Phoenix 1.8.0 heex template variable interpolation syntax, what is not the ca...
New
treejamie
There’s no simple_form/1 in phoenix 1.8 So this code <div> <.simple_form for={@form} id="promo-form" phx-change=...
New
RemyXRenard
On page 139 in the iex session in the Test Drive the Schema section, the instruction is to execute Product.changeset/2. However, the prev...
New
mikestok
In Install Elixir, Postgres, Phoenix, and LiveView it says: Make sure you get at least the minimal version of Elixir (>= 1.14 as of ...
New
pocketlim
The line on page 65 (using the PDF) is on_mount: [{PentoWeb.UserAuth, :ensure_authenticated}] do This is incorrect and will throw an e...
New
pocketlim
Sorry, I couldn’t figure out how to add a tag to a previous post (so that it shows up in the right section here), hence I just made a new...
New
perpetual_learner
The inline HTML in the book references the functions upload_image_error, upload_error_message, and upload_error_to_string. They are not d...
New
RobCode
There looks to be a misprint on page 217 of Book version: P1.0—March, 2026. A code block is displayed of a <.form> component with a...
New
DestyNova
p81: live "/products/new", ProductLive.Index, :new – as you noted just above, the generator in Phoenix 1.8 puts this in ProductLive.Form,...
New
DestyNova
p2: we update a yet another element. Delete "a ". p11: you might seeing – s/seeing/see/ p12: <imagedata fileref=”images/intro/phoenix-...
New
JohnSmall
Title: Programming Phoenix LiveView (page 139) Example: “Redipient” should be “Recipient”
New
jeff_f
happy to get the email this morning about the 1.1 version of the book! Just last night I spent an unnecessary amount of time figuring out...
New
kjoehlers
In the brief description of ~/pento/lib/pento/promo/recipient.ex it says ‘… Then we disable our primary key since our live view won’t mak...
New

Most Active Last Three Years Top

gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
New
New
oboudry-mvp
The schemaless form defined in file “lib/pento_web/live/promo_live.html.heex” on page 133 of the book requires some transformation. The :...
New
zagoli
Hi, I just finished reading Programming Phoenix LiveView B10 PDF edition. I found some typos and errata, and I will report them all in t...
New
jshprentz
The code example explicitly adds a layout to the live session used for WrongLive: root_layout: {PentoWeb.LayoutView, :root}, This m...
New
jshprentz
The code example at the top of page 140 includes the phx-debounce=blur binding: <.input field={@form[:email]} type="email" label="E...
New
shaolang
The changelog for LiveView 0.20.x stated the deprecation. It seems like it’s largely only a name change, i.e., there’s no functional diff...
New
lurnid
The 3rd paragraph on the page states: Our <.header> function invocation in the index template doesn’t make use of the <:subtit...
New
belgoros
In PentoWeb.RatingLive.Index.product_rating/1 function, there is a call to <RatingLive.Show.stars rating={rating} product={@product} /...
New
ppicom
Hi! To get to see the shapes on the board, I think that where it says: # lib/pento_web/live/game_live/board.ex def assign_shapes(%{assig...
New
sushil
if active Pentominos do not showup on the screen it is due to this line on p369 defp assign_shapes(%{assigns: %{board: board}} = socket)...
New
belgoros
Something wrong is with using the .simple_form component in the promo_live.html.heex template. Instead of seeing the content described on...
New
shaolang
The last line in the first paragraph on page 99 reads: …put certain instructions in socket.products.inserts or socket.products.deletes....
New
belgoros
When describing the render/1 function, there is a wrong reference to the :let directive used in the simple_form/1 function component: T...
New
jshprentz
At the top of page 12, after “Now, start the web server,” the book shows sample output, but does not show the command to start the web se...
New

Most Active Over Three Years Top

Charles
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 ro...
New
akraut
The markup used to display the uploaded image results in a Phoenix.LiveView.HTMLTokenizer.ParseError error. lib/pento_web/live/product_l...
New
taguniversalmachine
It seems the second code snippet is missing the code to set the current_user: current_user: Accounts.get_user_by_session_token(session["...
New
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex> product = %Product{} %Pento....
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
jwandekoken
Book: Programming Phoenix LiveView, page 142 (157/378), file lib/pento_web/live/product_live/form_component.ex, in the function below: d...
New
jgchristopher
“The ProductLive.Index template calls a helper function, live_component/3, that in turn calls on the modal component. ” Excerpt From: Br...
New
asibbald
A further clarification: When I move to the “Stateful components” section and run a compile with “iex -S mix”, the compile works. When I ...
New
New
StoatPower
Title: Programming Phoenix LiveView B8 - entire Ch4 modal component section needs correcting (Page 101-114) Example: Programming Flutter...
New
herminiotorres
On Chapter 3 - Page 78, the beginning of the page has this code here: @doc """ Maybe it is missing to put the Pento context before Cata...
New
New
dzen
The introduction instructions under section “Build a Simple LiveView” are incomplete. If followed from book one gets the following error:...
New
bzuu
In the code sample for auth /pento/lib/pento_web/live/user_auth_live.ex the on_mount function is defined as: on_mount(_, params, %{"user...
New
okari5678
socket is being accessed in the function body, hence the need to include it in the function head. Current: def maybe_track_user( ...
New

Latest in Programming Phoenix LiveView

View all Programming Phoenix LiveView threads ❯

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Use the coupon code "devtalk.com" to get 35% off any eBook published by PragProg!

Related Portals