That’s awesome! Glad to see support for streams in live components. I’ll test this out soon.
But for now onto my next issue with streams It looks like it’s not possible to reset an entire stream.
My use case is a chat app which has the typical layout of a list of conversations on the left and when you click conversation it loads all the messages on the right. Because I couldn’t use streams in a live component I was just using a live view. On mount I would create a stream for the messages and then in handle params I tried to reset the stream with stream(socket, :messages, get_messages[new_conversation_id])
but I get the error existing hook :messages already attached on :after_render.