All you need to add optimistic UI to your project!

Описание к видео All you need to add optimistic UI to your project!

Optimistic updates are a technique used to improve the perceived responsiveness of an application.

E.g.: When a user performs an action (like submitting a form) the interface immediately updates to reflect the expected result, without waiting for confirmation from the server.

This gives users instant feedback and a smoother experience. If the server request fails, the interface can then revert to its previous state.

Chapters
=========
00:00 - What are Optimistic Updates
00:20 - Intro: useSubmission / useSubmissions
00:40 - Codebase
01:10 - Creating a form submission action
02:04 - Page component: useSubmission
02:16 - HTML form and using the action
02:28 - Pending UI state
02:56 - Control flow, error and optimistic states
03:49 - First demo useSubmission()
04:55 - Filter callback function
05:39 - Multiple submissions: the useSubmissions method
07:00 - Demo useSubmissions
07:28 - Filter on useSubmissions
07:55 - Q&A and links

Комментарии

Информация по комментариям в разработке