#[Liveview] Add attributes from parent component caller to the live component
5 messages · Page 1 of 1 (latest)
Im wondering if it will be better to have helper functions instead of live components 🤔
They run inside the LiveView process but have their own state and life-cycle. For this reason, they are also often called "stateful components". This is a contrast to Phoenix.Component, also known as "function components", which are stateless.
not sure if I understand your question correctly but you might be looking for functional components then