Subscribe to access all episodes. View plans →

#70: Updating Page Data with Channels

Published September 10, 2018

In episode # 69 we saw how to receive and process a webhook in Phoenix. In that episode every time a webhook came in telling us that a user had unsubscribed, we needed to refresh the page in order to see the changes. While this works, what if we just want the page to update in realtime as new webhooks are processed? Luckily, we’re using Phoenix and Phoenix Channels makes this easy. Let’s change our page to update in realtime as unsubscribes happen.

© 2024 HEXMONSTER LLC