I can only agree with you on this claim so many times lol. A further point in your favor here: due to consistency problems with PubSub, you are going to have to filter the messages anyway! This does not, however, contradict my points in any way.
Yes! And unless the number of topics happens to be exactly one, an uncommon case, we have invented the OP’s question from first principles.
Okay, imagine you have literally any other component on the page. A search bar, a sidebar with filters, literally anything at all. You click on another product and the state of every other control on the page gets reset. This is a common annoyance of web applications.
LiveView is useful specifically because it can handle this, in Elixir, with no client rendering. That is the value proposition!
What is frustrating to me here is that the OP has the right idea, and is doing the right thing, and all of you are telling them “you’re holding it wrong”. They are not!






















