Making HTML disappear on assign change

This is actually a limitation of streams: if you render a non-stream item, that is any element that is not part of the list of items passed to stream/4 with a corresponding DOM ID, inside a stream container, such an item will never be removed. See also Phoenix.LiveView — Phoenix LiveView v1.2.5