Wouldn't it be hard to see if its a function or module by just reading the code?
Wouldn't it be hard to see if its a function or module by just reading the code?
if that is true, why is the first of the two tabs then not in the active state after a reconnect?
I'm not really interested in having it reset, im more interested in why it does not(which is the purpose).
Can someone explain to me, why the `data-active={tab.name == @initial_tab}` is not rerun on the reconnect and resets the selection? It happens on a hard refresh.
Code from @gfrancischelli.bsky.social and his great talk at ElixirConf EU 2025
#elixir #phoenix #liveview
I think you can do that by wrapping some of the markup in live_components? 🤔🤔
I recently got 2 PR's merged to Phoenix 😇 my two first open-source contributions ever, and then to my favorite framework of all time 🤩 #ElixirLang #PhoenixElixir
@josevalim.bsky.social Is it possible to follow the language server work somewhere? Really looking forward to it ^^
Hey Pieter, great post!
you have some syntax error in your post:
`def change_post(post, attrs \ %{})` is missing an extra `\`.
I hear this often too, but personally I think Agents are underused, or at least cautioned against too heavily. If you have a Genserver that has only `handle_call` and `handle_cast` callbacks, you could very likely have written it much more simply as an agent. Which is simpler to you? #ElixirLang