ActionCable and React
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: