Rolf Andersen ⚗️'s Avatar

Rolf Andersen ⚗️

@rolf-m-andersen

Elixir Developer and Enthusiast ⚗️

23
Followers
198
Following
8
Posts
14.02.2025
Joined
Posts Following

Latest posts by Rolf Andersen ⚗️ @rolf-m-andersen

Wouldn't it be hard to see if its a function or module by just reading the code?

13.08.2025 08:53 👍 0 🔁 0 💬 1 📌 0

if that is true, why is the first of the two tabs then not in the active state after a reconnect?

05.08.2025 13:52 👍 0 🔁 0 💬 0 📌 0

I'm not really interested in having it reset, im more interested in why it does not(which is the purpose).

05.08.2025 13:28 👍 0 🔁 0 💬 1 📌 0
Post image

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

05.08.2025 12:32 👍 3 🔁 0 💬 2 📌 0

I think you can do that by wrapping some of the markup in live_components? 🤔🤔

20.02.2025 20:53 👍 2 🔁 0 💬 0 📌 0

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

20.02.2025 17:30 👍 3 🔁 0 💬 0 📌 0

@josevalim.bsky.social Is it possible to follow the language server work somewhere? Really looking forward to it ^^

19.02.2025 13:12 👍 1 🔁 0 💬 0 📌 0

Hey Pieter, great post!
you have some syntax error in your post:
`def change_post(post, attrs \ %{})` is missing an extra `\`.

17.02.2025 07:27 👍 0 🔁 0 💬 1 📌 0

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

15.02.2025 17:55 👍 30 🔁 2 💬 5 📌 0