PubSub vs LiveView Whats the difference

To over simplify it, PubSub is the communication between elixir code, both running on the server side. LiveView and Channel are the communication between elixir code on the server side and javascript on the client side.