How to use Server-Sent Events for UI Development

View profile for Eduardo Aparicio Cardenes

Principal Frontend Engineer | Speaker | Mentor | blogger | BBQ lover

Yesterday was the Frontend Performance Day from WeAreDevelopers, where three fascinating talks took place: - Catching up on the basics - you don't really need that much code from Chris Heilmann - Snappy UI needs no Single-Page Application from Clemens Helm - Leveraging Server-Sent Events (SSE) for Efficient Data Streaming in UI Development from Rainer Stropek Personally, my key takeaways from these talks are: - Review your code, tools, and frameworks regularly. Browsers are constantly evolving, and many features are already available, so trust the browser to do it for you. This will reduce the JavaScript required to maintain and the cost of maintaining it. Adopting this mindset will boost your customer and developer experience. - The browser has changed significantly over the years since its early days when we started, but all these patterns used to optimise the user experience are still very viable. Clemens provides a great recap and practical application of this. - I wasn't familiar with Server-Sent Events (SSE). Rainer's talk was a great introduction to this protocol and how to use it. I learned a lot about its usage and its similarities with streaming responses. It's well worth watching as it gives us another tool in our belt to provide the best solution for our customers when given the use case. #webperformance #frontenddevelopment #wearedevelopers #frontendarchitecture

WeAreDevelopers LIVE - Frontend Performance Day

https://www.youtube.com/

To view or add a comment, sign in

Explore topics