is this the post you’re talking about?
not only because of this comment from Jose, but also motivated by discussions here with my team, we started to investigate how to refactor parts of our app moving away from LiveComponents (which, in our case, I do think are overused) towards function components + hooks. I’m using a lot of the insightful suggestions we can find in this forum, but I must confess I’m having a hard time to find a design that feels “right”, for multiple reasons (e.g. these collisions caused by “global” flat keys in assigns you mentioned).
right now, I’m somewhat confused about what are good scenarios for LiveComponent vs function components. as a not so seasoned developer like you guys (and as someone coming from a non-technical background), I think more practical examples/guides would be very helpful. but I understand that, for this specific topic, this is something that may be going through some changes in terms of best practices; e.g. the new Phoenix 1.8 generators does not use LiveComponents anymore — altough it came with some changes in the UX, dropping the modal form (what if I wanted to reuse the form in different views, would LiveComponents be a good option, or is there a way to implement it using function components?)
thank you for sharing how you’re trying to solve those problems and for bringing up such important discussions!




















