# \#rendering

**URL:** https://forum.elixirforum.com/tag/rendering/2698.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Conditionally rendering a non-blank HEEX template slot](https://forum.elixirforum.com/t/conditionally-rendering-a-non-blank-heex-template-slot/76438)

<div class="topic-metadata">

**Author:** [@krasenyp](https://forum.elixirforum.com/u/krasenyp)\
**Replies:** 0\
**Last updated:** [August 23, 2026, 3:33pm UTC](https://forum.elixirforum.com/t/conditionally-rendering-a-non-blank-heex-template-slot/76438 "2026-08-23T15:33:42Z")

</div>

You probably already know that \<span\>{nil}\</span\> in a HEEX template produces \<span\> \</span\> when rendered. I find this very inconvenient because I can’t conditionally display a placeholder content via the :empty CSS pse…

---

## [Error when rendring in :egd (UndefinedFunctionError) function :zlib.crc32/2 is undefined or private](https://forum.elixirforum.com/t/error-when-rendring-in-egd-undefinedfunctionerror-function-zlib-crc32-2-is-undefined-or-private/66639)

<div class="topic-metadata">

**Author:** [@polovy](https://forum.elixirforum.com/u/polovy)\
**Replies:** 4\
**Last updated:** [April 6, 2025, 2:23pm UTC](https://forum.elixirforum.com/t/error-when-rendring-in-egd-undefinedfunctionerror-function-zlib-crc32-2-is-undefined-or-private/66639 "2025-04-06T14:23:46Z")

</div>

Hi, I am going through some tutorials, and I’m trying to generate an Identicon, but Im getting an error when trying to run the program. The program is compiling with no issues, but it looks like it errors when executing…

---

## [Pdf prinf live component](https://forum.elixirforum.com/t/pdf-prinf-live-component/64662)

<div class="topic-metadata">

**Author:** [@blset](https://forum.elixirforum.com/u/blset)\
**Replies:** 0\
**Last updated:** [July 3, 2024, 6:07am UTC](https://forum.elixirforum.com/t/pdf-prinf-live-component/64662 "2024-07-03T06:07:50Z")

</div>

when trying to manually render a liveview for subsequent pdf print I get an error when a live component is in the liveview render template using this assigns\_map |\> LiveViewModule.render() |\> Phoenix.HTML.Safe.to\_…

---

## [Phoenix Error Rendering & Multiple Endpoints](https://forum.elixirforum.com/t/phoenix-error-rendering-multiple-endpoints/59775)

<div class="topic-metadata">

**Author:** [@halostatue](https://forum.elixirforum.com/u/halostatue)\
**Replies:** 1\
**Last updated:** [November 16, 2023, 4:00pm UTC](https://forum.elixirforum.com/t/phoenix-error-rendering-multiple-endpoints/59775 "2023-11-16T16:00:13Z")

</div>

These are both likely a case of either “holding the tool wrong” or “using the wrong tool”, but I am looking for information and advice. We have built our Phoenix app in such a way that we have, excepting for ErrorView, …

---

## [Passing data between components: how to truly update socket.assigns state?](https://forum.elixirforum.com/t/passing-data-between-components-how-to-truly-update-socket-assigns-state/57473)

<div class="topic-metadata">

**Author:** [@chrisdel101](https://forum.elixirforum.com/u/chrisdel101)\
**Replies:** 9\
**Last updated:** [August 8, 2023, 1:17am UTC](https://forum.elixirforum.com/t/passing-data-between-components-how-to-truly-update-socket-assigns-state/57473 "2023-08-08T01:17:03Z")

</div>

Within a single parent live view I want to move from one component back to another via a shared parent. I need a newly set socket state to prevail. I’m using push\_patch. I thought the reload: true option was what I neede…

---

## [Rendering different values depending on a state of repository](https://forum.elixirforum.com/t/rendering-different-values-depending-on-a-state-of-repository/40454)

<div class="topic-metadata">

**Author:** [@borybar](https://forum.elixirforum.com/u/borybar)\
**Replies:** 9\
**Last updated:** [June 17, 2021, 2:50pm UTC](https://forum.elixirforum.com/t/rendering-different-values-depending-on-a-state-of-repository/40454 "2021-06-17T14:50:39Z")

</div>

Hi, I am displaying users cpm based on their submitted form. It all works until I am creating a new user who doesn’t have such cpm yet. Then I get an error. I understand that I need to use case in which I check either t…

---

## [I'm confused about how to use @inner\_content](https://forum.elixirforum.com/t/im-confused-about-how-to-use-inner-content/40083)

<div class="topic-metadata">

**Author:** [@Rich\_Morin](https://forum.elixirforum.com/u/Rich_Morin)\
**Replies:** 1\
**Last updated:** [May 31, 2021, 6:19am UTC](https://forum.elixirforum.com/t/im-confused-about-how-to-use-inner-content/40083 "2021-05-31T06:19:44Z")

</div>

I’m trying to bring some dusty Phoenix code up to date and I’m very confused about how to use @inner\_content. My app.html.eex file creates a my\_assigns variable, based on assigns. It hands this (in various places) to the…

---

## [Feature: Arbitrary element replacement](https://forum.elixirforum.com/t/feature-arbitrary-element-replacement/37281)

<div class="topic-metadata">

**Author:** [@DaAnalyst](https://forum.elixirforum.com/u/DaAnalyst)\
**Replies:** 3\
**Last updated:** [February 4, 2021, 10:55am UTC](https://forum.elixirforum.com/t/feature-arbitrary-element-replacement/37281 "2021-02-04T10:55:00Z")

</div>

Desired behavior: The ability to define a segregated container with, say, phx-update=“cross-replace” containing the elements which LiveView then uses to replace elements with the corresponding ids in their respective app…
