There are multiple ways to save and restore state for your LiveView processes, like a cache on Redis, or your database. But in some situations, you want to store it n the user's browser. Mark Ericksen shows how you can use the browser to store state and how your LiveView process can get it back later.
Elixir 1.13.0 has come up with many improvements. John Ankanna shows 6 of them, with code examples, like Enum.slide/3, IEX Autocompletion, better Syntax Error Report and more.
Depending on how you use mix deps.clean to remove unused dependencies, it will remove them from the deps directory, but not from the mix.lock file. Bartosz Górka shows how to solve that and completely remove unused dependencies.
In today's post, we'll take a close look at the two critical components of authorization — access policies and scoping. We'll show you how you can roll out your own solution for each in Phoenix and how to leverage the Bodyguard library.
When using the README.md file to show code examples, they can get out of date with reality. Chris Keathley shows a trick to solve that problem by leveraging the doctests feature from Elixir.
Sometimes when writing a query using Ecto, one duplicates keys and values, like in from p in Post, select: %{id: p.id, title: p.title, category_id: p.category_id}. But you don't need to duplicate them, Yuri Oliveira shows how using a simple feature from Ecto.
Our Virtual Power Plant is a one-of-a-kind platform to provide grid services with sonnenBatterie-systems. By connecting household batteries to our VPP, sonnen allows its customers to participate in ancillary services such as frequency control and demand response, further enabling the renewable energy revolution.
Hawku - Fully remote (at least a 3-hour window with PST)
Are you an amazing developer who loves Elixir/Liveview and would be excited to play a huge role in the future of the blockchain / NFTs? Hawku is looking for senior/lead developers to help us build the premier marketplace for utility and gaming NFTs - a multi-$B industry exploding in growth. This is a great way to get a key early role with a top-tier VC-backed company in a rapidly growing space. (read more about Hawku here: https://blog.hawku.com/announcing-hawkus-seed-round/)