Here’s a new one on Testing Async Assigns (though it’s something of a preview for a full lesson in my Testing LiveView course).
Known about Mix.install for a while. But just recently used it for the first time. It’s awesome.
Super quick demo Elixir Streams |> Dependencies in Scripts with Mix.install
José just posted that Elixir 1.16.rc is out with four improvements to documentation.
Made a quick video exploring those four improvements!
Something that didn’t get a lot of notice, but I love these types of improvements. Found it in Elixir 1.16’s changelog.
Elixir 1.16 now allows us to run multiple test files with line numbers!
Check out a short video
Elixir Streams |> Elixir 1.16 running multiple tests with line numbers! ✅
This one is just me satisfying my curiosity.
I always wondered, how is :page_title
the only assign that gets updated in the layout? What does LiveView do to make it special?
So, I did a bit of code spelunking
I know LiveView 0.20 shipped with assign_async
but also with a start_async
helper for arbitrary async tasks.
I love what LiveView provides out of the box for us.
Check it out Elixir Streams |> LiveView's start_async helper for arbitrary async operations