July 10, 2023
Composable, Controllable and Chatty Phoenix Live-Components
Writing live components in Elixir’s Phoenix Framework is a breeze. It allows us to hide internal state and mechanics with ease. However, when it comes to writing helpful abstractions for components that encapsulate functionality like parameter handling and still compose, it can get messy. In this blog post, I will demonstrate how to implement a controllable and chatty tabs component that can be effortlessly composed with other components.