websockets

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.…

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&…

Real-Time React with Socket.io: Building a Pair Programming App

The best things are real-time things, so I won't bore you with another introduction on why we all need to build real-time features into our applications. People want to chat and share files and collaborate on documents and projects and put pictures of cats on things in real-time.…

Rails 5 Action Cable with Multiple Chatroom Subscriptions

In my apparently never-ending quest to do more Action Cable all the time, I decided to tackle a implementation of Rail 5's Action Cable with multiple chatroom subscriptions. While the newly updated Rails docs [http://edgeguides.rubyonrails.org/action_cable_overview.html] provide excellent explanations and examples, there…