Marc Müller
Optimistic UI Updates: Enhancing User Experience and Improving Interaction to Next Paint (INP)
#1about 2 minutes
Understanding perceived performance and Core Web Vitals
Web performance has shifted from focusing on initial page load to the entire user experience, as reflected in the evolution of Google's Core Web Vitals.
#2about 4 minutes
Introducing Interaction to Next Paint as a Core Web Vital
Interaction to Next Paint (INP) replaces First Input Delay (FID) to measure the responsiveness of all user interactions throughout a session, not just the first one.
#3about 4 minutes
Breaking down the three phases of a user interaction
An interaction consists of input delay, processing time, and presentation delay, with a total duration under 200ms considered good for INP.
#4about 7 minutes
How to measure INP with field and lab tools
Use field data from Chrome User Experience Report (Crux) and the web-vitals JS library, and lab tools like Lighthouse to identify and reproduce slow interactions.
#5about 4 minutes
Addressing network latency's impact on INP
Network requests made during an interaction's processing time can significantly increase INP, and while loading states fix the metric, they don't improve perceived performance.
#6about 4 minutes
Implementing optimistic UI for instant user feedback
Optimistic UI improves perceived performance by immediately showing the successful result of an action while the network request completes in the background.
#7about 2 minutes
Combining optimistic UI with loading states for complex interfaces
A hybrid approach uses optimistic updates for low-risk changes and traditional loading states for critical actions like price calculations to balance speed and accuracy.
#8about 5 minutes
A framework for deciding when to use optimistic UI
Apply optimistic UI only when the action has a high success rate, errors can be easily rolled back, and enough information is available to present an accurate update.
#9about 5 minutes
Conclusion: Always prioritize clear user feedback
Whether using optimistic UI or not, the ultimate goal is to keep the user informed about the status of their interactions to build trust and improve perceived performance.
Related jobs
Jobs that call for the skills explored in this talk.
Douglas GmbH
Düsseldorf, Germany
Intermediate
Senior
TypeScript
React
Matching moments
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
03:58 MIN
Making accessibility tooling actionable and encouraging
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
04:02 MIN
How a broken frontend culture impacts the web
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
05:28 MIN
The origin story of the Polypane developer browser
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
05:24 MIN
Empathizing with users over chasing engagement metrics
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
Featured Partners
Related Videos
Core Web Vitals: Put your application into orbit with best practices
Nicolas Frizzarin
Next.js Unleashed: Optimizing Web Vitals for superior User Experience
Eileen Fürstenau
What you need to know about Core Web Vitals
Ines Akrap
The Illusion of a Performant Web Application
Cathrin Möller
What’s New and What’s Next in Web UI
Cleyra Uzcategui
Catching up on the basics you don't really need that much code
Chris Heilmann
Is your Progressive Web App Lazy? How to read and improve your PWA Performance
Laura Morinigo
Building Interactive Async UI with React 19 and Ariakit
Aurora Scharff
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript


Twin.Link GmbH
Osnabrück, Germany
Intermediate
Senior
React
TypeScript

Improbable
Charing Cross, United Kingdom
£83K
Azure
React
Next.js
Blockchain
+2

Optimus Search
Berlin, Germany
Remote
Intermediate
API
CSS
GIT
React
+4



