Latest #assigns Threads Top

jarvism
Hello! I have a LiveView that uploads a CSV, processes it with some information from external APIs, and creates a download. To use the ...
New
Fl4m3Ph03n1x
Background I have a custom component in my LiveView, which is basically a group of checkboxes. I want to add a new attribute to my custo...
New
Pistrie
Using the ChannelCase I can assert that certain events are happening, and that I receive certain replies from the server. However, I have...
New
silverdr
Apparently I can assign a k => v pair but then @anassign in a template expects the assign to have an atom (:anassign) as key in assign...
New
hourram
Hello, I am working on a web app with Phoenix + Liveview. I have an authenticated live_session in my router.ex live_session :dashboard...
New
bapti
I’m thinking about how to create a good workflow for breadcrumbs in my app. Right now I have the breadcrumbs directly in the HTML <s...
New
sodapopcan
To get to the crux of this question right away: Does LiveView always do a first render without any assigns? So I’m using a struct as one...
New
ream88
When mounting my live view, I register it as a participant in a running GenServer. def mount(_params, _session, socket) do MyGenServer...
New
why
Hello, on a LiveView page, I have a form whose single text input gets cleared when I click on a separate, unrelated div that uses phx-cl...
New
DaAnalyst
The UC: I have two structures, each with its own lifecycle. The structure A is the larger one and is always fully rebuilt for each LV ren...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

Fl4m3Ph03n1x
Background I have a custom component in my LiveView, which is basically a group of checkboxes. I want to add a new attribute to my custo...
New
Pistrie
Using the ChannelCase I can assert that certain events are happening, and that I receive certain replies from the server. However, I have...
New
jarvism
Hello! I have a LiveView that uploads a CSV, processes it with some information from external APIs, and creates a download. To use the ...
New

Trending Over Three Years Top

jononomo
Can anyone point me to some resources to understand the “assigns” functionality. I see it used in Phoenix Channels, but am not sure what...
New
potentElixir
In the post/show template I have: <%= for comment <- @comments do %> if (condition) do # pass comment to _scripts....
New
hourram
Hello, I am working on a web app with Phoenix + Liveview. I have an authenticated live_session in my router.ex live_session :dashboard...
New
why
Hello, on a LiveView page, I have a form whose single text input gets cleared when I click on a separate, unrelated div that uses phx-cl...
New
petelacey
There have been a number of questions on this forum and on SO regarding accessing Conn.assigns in LiveViews that are mounted via the rout...
New
bapti
I’m thinking about how to create a good workflow for breadcrumbs in my app. Right now I have the breadcrumbs directly in the HTML <s...
New
DaAnalyst
The UC: I have two structures, each with its own lifecycle. The structure A is the larger one and is always fully rebuilt for each LV ren...
New
sodapopcan
To get to the crux of this question right away: Does LiveView always do a first render without any assigns? So I’m using a struct as one...
New
ElixirCasts
I made an episode exploring Phoenix assigns: https://elixircasts.io/exploring-phoenix-assigns
New
silverdr
Apparently I can assign a k => v pair but then @anassign in a template expects the assign to have an atom (:anassign) as key in assign...
New
ream88
When mounting my live view, I register it as a participant in a running GenServer. def mount(_params, _session, socket) do MyGenServer...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement