How to respond to channel broadcasts in a Phoenix LiveView app layout (global broadcasts)
How do you respond to channel broadcasts in a Phoenix LiveView app layout? You need a way to subscribe across all LiveViews.
Hi, I’m Andrew, a programmer and entrepreneur from South Africa,
building
Mailcast
for taking control of your email.
Thanks for visiting and reading.
How do you respond to channel broadcasts in a Phoenix LiveView app layout? You need a way to subscribe across all LiveViews.
How do you push an update to a single query string param without changing other params in the url or even being aware of the url or its query string. I’ll explain how to build a filter toggle component and tag list component that maintain state in the query string while updating state in the LiveView.
Phoenix comes with Heroicons built-in. If you want to change to using another icon library, like Fontawesome, it can be done quite easily with a few small changes. This post will show you the steps needed so the <.icon /> component works with Fontawesome.
How to add a tooltip component to your Phoenix app using PopperJS. Learn how to connect client-side javascript when elements are added and removed from the DOM.
How to create short functions that can be called directly in your Elixir iex session
In Elixir code_change/3 is the callback that allows you to upgrade state in a GenServer process during a hot-code upgrade—but it didn’t work for me. Understanding how the erlang release handler finds processes to update helped me to figure out what was wrong and how to fix it.
A short rant against no-reply@ email addresses.
Words matter. Semantics are important.
How many CEOs actually use the products their companies create? The way some products are built suggests they aren’t.
Don’t keep adding items to your todo list that you know you really don’t intend to do.