11
Optimistic UI
Optimistic UI makes your app feel snappy by giving immediate feedback, even when actions take a bit longer. This is especially useful when you’re waiting for a network response. Optimistic updates can make a UI feel more responsive and improve the user experience. In this chapter, you will learn how to add optimistic UI updates with Remix.
This chapter is split into two sections:
- Considering optimistic UI
- Adding optimistic UI updates in Remix
First, we will discuss the trade-offs of using optimistic UI updates and investigate the complexity and risks of client/server state synchronizations and rollbacks. Next, we will review the current state of BeeRich and investigate which mutations to enhance with optimistic UI updates. ...
Get Full Stack Web Development with Remix now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.