not rendered in live 'leex' template

      {:phoenix, "~> 1.6.14"},
      {:phoenix_live_view, "~> 0.18"},

When I use the <.link ... component in a leex template all I get is the rendered text i.e. <.link navig... instead of the link itself. What could be happening? Is there another way I should be navigating from one liveview to another in the template?


<.link navigate="/">Regular anchor link</.link>

gets rendered exactly, and is not converted into a link.

Function components are a HEEx feature unavailable to older LEEx templates.

Thank you sir, I am quite surprised that nobody has mentioned this in the documentation.

Work on LEEx has essentially stopped as soon as HEEx was introduced. Any new template features will be HEEx only.

1 Like