ElixirWeekly

Every Thursday: No frills, no click-through, no spam.

Here's what the latest issue looks like:

Logo ElixirWeekly by @elixirstatus Issue #386
This week in Elixir

Polymorphic Embeds in Ecto
Dan shows a simple way to implement polymorphic embeds for virtual fields.

What's New in Elixir 1.16
The fine folks at AppSignal explore the features and improvements in Elixir 1.16.

Careful What Data you Send or how to Tank Your Performance with Task.async
Tobi ran into an interesting problem recently where simple concurrency on the BEAM via Task.async made his application a lot slower and a lot more memory hungry. This blog post illustrates the issue with a short example.

Elixir Streams |> LiveView's Lifecycle Hooks
Ever want to handle a LiveView action (event, message, patch, etc.) across several LiveViews without having to duplicate the code? German's got your back.

That's it for this round, have a great day!
@rrrene from ElixirWeekly

If you like this newsletter, please tell the world!

You can view this issue in your web browser.

You can subscribe below:

Questions & Answers

Can I submit things I made to be included in the next issue?

Yes! Simply post them to ElixirStatus and you can be sure that they land on my radar.

Is my email address safe with you?

Yes. I'd like to consider myself a trustworthy individual, but then who doesn't?

I am, however, an active member of the open-source Elixir community and the maintainer of Credo and ElixirStatus. I will NOT ruin my reputation by selling your data to a third party.

Why do you require me to confirm my email address?

I just believe that requiring double opt-in to subscribe to any email-based system is a win for both parties: You are safe from unintentionally subscribing and I can be confident that you actually own the email address and want to receive the newsletter I send you :)

Contact

Feedback? Questions? Anything else?

Please contact René Föhring (email or tweet @rrrene for a quick conversation).