ActionCable and React

Let's use ActionCable in our All-React application.

We'll cover the following

Using ActionCables

This page needs two ActionCable subscriptions: one that registers a ticket holder on a different page and updates the remaining tickets, and one that registers the user changing their favorites in a different browser.

The ticket update subscription is more straightforward. It’s already being broadcast by the concert display page and already sending JSON data. All we need to do is catch it. Here’s the Redux thunk we called way back when the ScheduleApp component was created:

Get hands-on with 1200+ tech skills courses.