Learning Elixir

Joined June 2023
Learning Elixir retweeted
I completely agree. Have written about this before. zachdaniel.dev/p/elixir-misc…
I never shared this view of "let it crash". Things will NOT resume instantly with a clean state. Most of the time, at least in my experience, things will resume instantly but in the same broken state + errors will be a nightmare to debug.
4
17
1,886
Learning Elixir retweeted
Here's the skill file I use to update dependencies in Elixir projects. I used to hate the update cycle, especially in Phoenix. Now it's just a conversation away. #MyElixirStatus gist.github.com/ChristianAle…
4
6
85
3,102
Learning Elixir retweeted
We're actually not yet pushing on the declarative UI frontier quite yet (in core), we're starting with compatibility with existing patterns. Declarative UI is being worked on, however: hexdocs.pm/cinder is a good example, and we plan on expanding further over time.
1
3
71
We have portals in Phoenix! 🥳 Useful for modals, of course. But I also hope they might make it possible to interleave Vue and HEEX in LiveVue without issues (slots). @wout_dpu might be interesting for you 😉 Thanks Steffen Deusch for the hard work! #myelixirstatus
1
8
66
2,247
Learning Elixir retweeted
I found a way to make this a little cleaner using the File Nesting extension settings: I added a `*.ex` extension with a couple of matchers for nesting the files if they live next to each other. After this, your files will collapse and save some space and visual clutter (if you're into that sort of thing). Collapsed: Expanded: h/t to @RootCert for the awesome tutorial I'm working through to try this out.
I'm unconventional in a lot of ways, one of them being that I put @elixirlang tests right next to what they test. It's pretty easy, you just add `lib` to `test_paths` in `mix.exs` #myelixirstatus
2
1
1
2
309
Learning Elixir retweeted
Replying to @thmsmlr
In LV v1.1 you will be able to do: phx-mounted={JS.ignore_attribute("style")}
1
1
71
1,789
Learning Elixir retweeted
[Ash Question] Trying to transition to the mental model of Ash elixirforum.com/t/71060 #AshFramework #ElixirLang #WeBeamTogether #MyElixirStatus
1
1
225
Learning Elixir retweeted
Oh I see it's not automatic you have to choose to log it by calling `all_and_log`🤔 two ways: 1. there is a new tool called `Ash.data_layer_query`. call all_and_log with the query. 2. Temporarily make your action manual, and use all_and_log in its implementation
1
1
2
106
Learning Elixir retweeted
lit is my goto when I need something in my LV app that's beyond server rendering
2
1
5
498
It has changed now, because my PR to Phoenix LiveView was merged 🚀 Now we keep the old state of all the assigns, so it should be possible to work towards using this when computing the diff. It's a small change, but might be important. github.com/phoenixframework/…
1
1
22
486