After inserting a hundred of phx-target
s I felt…
It would be nice to have something, like a phx-target={@auto}
placeholder, to simplify copy-pasting of the same code back and forth between a :live_view
and a :live_component
and make it less context-dependant.