Speed up inputs with useDeferredValue in this week's React Holiday

Описание к видео Speed up inputs with useDeferredValue in this week's React Holiday

React 18 RC introduces a number of concurrent features thru new hooks: useDeferredValue, startTransition, and useTransition. In this video chantastic explores a simple useDeferredValue example and shares some transition gotchas.

00:00 - Intro to useDeferredValue and transitions
00:44 - Speed up inputs with useDeferredValue example
04:59 - Give visual indication when view is stale
06:56 - Transition gotchas…
08:44 - How to extract transition functions
13:05 - Don't collapse suspense and error boundaries
15:23 - Summary

Комментарии

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