#TIL (via the Thinking Elixir podcast) that you can very easily configure Phoenix to notify LiveView of code changes in development mode instead of triggering a page reload, to give instant hot reloading without losing client state. Also it turns out that occasionally people post useful stuff on LinkedIn. #MyElixirStatus

Phoenix LiveView has one massive DX feature. Just, almost no one knows about it. If you’ve worked with Vue or React, you are used to state-preserving hot reloads. You change a component, save the file, and the UI instantly updates. You never lose your form data or modal state. Phoenix LiveView defaults to a hard browser reload - every time you hit save, your state is wiped. You have to click back through your modals and fill out dummy data again just to test a single CSS class. It completely slows you down. But it turns out, state-preserving hot-reload actually exists in LiveView. It’s just heavily under-documented. Here is a 3-line dev.exs configuration change to enable it: Phoenix puts your LiveView and component paths under live_reload: [ patterns: ... ]. This triggers the full page refresh. To fix it, move those paths under notify: [ live_view: ... ] instead (screenshot below). For controllers, you want to keep previous config. The result: • Instant hot-reloads • Preserved state across saves • No more clicking through menus to reset your UI I've posted this on X two years ago and is my highest-liked tweet to date. This change is also the very first thing I'm doing in every new project. Together with my library live_vue, I have a stateful hot-reload across the entire stack (server + client!) If you are building with Phoenix, try it out and comment if it's working as expected.
Elixir FR and Elixir Paris are doing a new meetup online (in French only)
We will have a series of fast talks, around ~15minutes each
- An introduction to #Gleamlang
- A presentation about using hot code reloading in production
- A talk about Civis, a static websites farm
- A presentation about learning Elixir and Phoenix (by myself!)
We will probably be on our discord :)
Started using #AshFramework for a personal project, it is going well (and works pretty well). Still learning so we will see how it will go once I need less « magic » and more logic though but I think I understand the direction it will go already
At the same time I moved to a Forgejo instance, and I’m trying out a bit of jj!
Anyone up for climbing in Málaga during/after ElixirConfEU ? ✨
https://elixirforum.com/t/elixirconf-eu-rock-climbing-in-malaga/75070

Hello there, Málaga is an awesome destination for rock climbing activities. There are multiple big areas relatively close to the city with thousands of well-bolted sport routes. El Chorro is one of them, accessible by direct train in roughly 40 minutes. If rock is not your thing, you can also try the two small gyms that are in the city — SpaceBlock or BeClimb. The walls there are not very tall, but both gyms have a lot of auto-belays so you don’t need a partner. I can recommend SpaceBlock if b...
I just used zizmor to improve the security of our GitHub actions pipeline: https://github.com/pentacent/keila/commit/7eb6aeb61d0b191bc8fca13f4deef0bd422ac8d3
Thanks Michael from Paraxial for the tip in the most recent @ThinkingElixir episode! #myelixirstatus

Build interactive AI agents in Elixir with OTP supervision, middleware composition, human-in-the-loop approvals, sub-agent delegation, and real-time Phoenix LiveView integration. Built on LangChain...