Writing a New API
I am working on bringing lifecycle event callbacks to Phoenix LiveView. Like their client-side equivalent, these callbacks are known as Hooks.

https://github.com/phoenixframework/phoenix_live_view/pull/1511