phoenix channels

Improving UX with Phoenix Channels & React Hooks

This is a guest post by Alex Griffith [https://www.linkedin.com/in/alexgriff], originally published on the Flatiron Labs blog [https://medium.com/flatiron-labs]. Alex is an engineer at The Flatiron School. He is also an incredibly talented teacher who happens to have a hilarious twitter handle [https://twitter.…

Check Out my Empex Talk on Phoenix Channels: The Right Way to Track Users in Real-Time

I attended Empex [http://empex.co/] last year for the first time. Empex is an awesome, dynamic, inspiring, one-day Elixir conference. As an Elixir newbie, I had no idea what anyone was talking about. And I hated it! (Okay, I kind of loved it). It really gave me a kick…

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…

JWT Auth with Phoenix and React Router 4

Since I clearly cannot get enough of JWT [https://www.thegreatcodeadventure.com/jwt-auth-in-rails-from-scratch/] authentication [https://www.thegreatcodeadventure.com/jwt-authentication-with-react-redux/], here's a look at how to use it to authenticate your shiny new Phoenix API with a React + Redux front-end application, using React Router 4. In this post, we&…