# Programming Phoenix LiveView: B11 Typos

**URL:** <https://forum.devtalk.com/t/programming-phoenix-liveview-b11-typos/185401>\
**Category:** PragProg Customers\
**Tags:** book-programming-phoenix-liveview, errata\
**Created:** [26 January 2025 20:37 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-b11-typos/185401 "2025-01-26T20:37:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slesa](https://forum.devtalk.com/user_avatar/forum.devtalk.com/slesa/32/7095_2.png) [@Slesa](https://forum.devtalk.com/u/Slesa)\
**Post date:** [26 January 2025 20:37 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-b11-typos/185401/1 "2025-01-26T20:37:36Z")

</div>

Page 100

> Add the following snippet to your index.html.eex template:  
> index.html.heex

Page 105

> Our \<.header\> function invocation in the index template doesn’t make use of  
> the \<:subtitle\> slot, so the header/1 function component has nothing to render  
> when it calls \<%= render\_slot(@inner\_block) %\>  
> render\_slot(@subtitle}

---

<div class="post-metadata">

**Author:** ![Slesa](https://forum.devtalk.com/user_avatar/forum.devtalk.com/slesa/32/7095_2.png) [@Slesa](https://forum.devtalk.com/u/Slesa)\
**Post date:** [28 January 2025 20:33 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-b11-typos/185401/2 "2025-01-28T20:33:24Z")

</div>

Page 140  
it is impossible to see this view, because :form is referenced in html, but not assigned in code. clear\_form is necessary, including the empty %Recipient{}

---

<div class="post-metadata">

**Author:** ![Slesa](https://forum.devtalk.com/user_avatar/forum.devtalk.com/slesa/32/7095_2.png) [@Slesa](https://forum.devtalk.com/u/Slesa)\
**Post date:** [28 January 2025 20:43 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-b11-typos/185401/3 "2025-01-28T20:43:09Z")

</div>

Page 141

> more efficiency since you on longer

should be no longer

---

<div class="post-metadata">

**Author:** ![JsonKody](https://forum.devtalk.com/user_avatar/forum.devtalk.com/jsonkody/32/7113_2.png) [@JsonKody](https://forum.devtalk.com/u/JsonKody)\
**Post date:** [31 January 2025 10:35 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-b11-typos/185401/4 "2025-01-31T10:35:56Z")

</div>

Page 34

I was confused by this code

```auto
iex(4)> reducer = &Number.add(&2, &1)
iex(5)> converter = &Number.to_string/1

```

shouldnt it be just?

```auto
iex(4)> reducer = &Number.add/2
iex(5)> converter = &Number.to_string/1

```

Since addition is commutative, swapping the arguments doesn’t change anything, and this version is shorter and easier to read.

---

<div class="post-metadata">

**Author:** ![Slesa](https://forum.devtalk.com/user_avatar/forum.devtalk.com/slesa/32/7095_2.png) [@Slesa](https://forum.devtalk.com/u/Slesa)\
**Post date:** [30 March 2025 12:54 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-b11-typos/185401/5 "2025-03-30T12:54:17Z")

</div>

I understand your point, but this way both possible notations are mentioned.
