Using Agent to Maintain Channel State in Phoenix
In my previous post [https://www.thegreatcodeadventure.com/tracking-user-state-with-phoenix-presence-react-and-redux/], we used Phoenix Presence to track user presence in a given "challenge room" (think: chat room). In this post, we'll build our own Agent-backed module to track channel state that does not pertain to user presence. In…