The OP is talking about live components, not function components. Each live component is its own module, and they can’t be grouped into a module.
live components can’t react to changes in URL parameters (they don’t implement the handle_params/3
callback) and can’t receive messages via handle_info/2
. However you can use attach_hook/4 to get around these limitations.