I recently started my first developer job at Enrise and my colleague Jeroen Groenendijk asked me if I wanted to participate in a side project he was planning. In this blog post I want to show how we refactored our event-driven approach using WebSockets to using Livewire's polling mechanism (see docs). Before diving in, I'd like to mention the articles by Freek Van der Herten which sparked my interest: Replacing web sockets with Livewire and Building a realtime dashboard (2020 edition).
To this extend, we've created three Livewire components: I'll highlight the changes made to the Livewire component responsible for showing the cards and saving the estimation (#3 on the list).
Why and how we refactored to Livewire polling and replaced the event-driven WebSockets approach johnbraun.blog/posts/refactor…