~/talk

React … wait for it … Suspense

Talkat VinnytsiaJS 2018 · on Saturday, 2018-07-21· [react, frontend-architecture]
links:none on file
slides:none on file

React Fiber enables asynchronous rendering and Suspense unifies fetching of code, data and images so components can throw a Promise to suspend rendering until a cached resource resolves. Demo builds a small cache + loading wrapper (uses simple-cache-provider), shows per-component fallbacks, configurable timeouts to avoid flicker, and server streaming with renderToNodeStream. API is experimental and may need a custom React build, but the demos work and reveal the practical tradeoffs and implementation details.

AI-written summary · about

  1. 0:00Введение и представление
  2. 1:28Что такое React Suspense
  3. 2:10Проблемы React до версии 16
  4. 3:33Переход на Fiber и новые возможности
  5. 4:41Асинхронный рендеринг и его преимущества
  6. 7:10Как работает Fiber
  7. 10:00Новые методы жизненного цикла
  8. 12:08Изменения в обработке ошибок
  9. 16:23Проблема с сетевыми ресурсами
  10. 17:27Как работает Suspense
  11. 20:58Реализация Suspense на практике
  12. 22:42Механизм работы кэша
  13. 24:09Демонстрация кода Suspense
  14. 27:44Практическая реализация Suspense
  15. 28:27Как Suspense работает внутри
  16. 30:10Кэш и ресурсы в Suspense
  17. 31:59Примеры использования Suspense
  18. 32:41Управление спиннерами и тайм-аутами
  19. 34:29Server-side рендеринг с Suspense
  20. 35:54Вопросы и ответы
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.