How to take leverage from on_mount to reduce code
Phoenix LiveView has implemented some fantastic features, and one of them is the on_mount/1 callback...
Tags: elixir, erlang, phoenix, liveview