On The Bike Shed, hosts Joël Quenneville and Stephanie Minn discuss development experiences and challenges at thoughtbot with Ruby, Rails, JavaScript, and whatever else is drawing their attention, admiration, or ire this week.
…
continue reading
Вміст надано Frontend First, Sam Selikoff, and Ryan Toronto. Весь вміст подкастів, включаючи епізоди, графіку та описи подкастів, завантажується та надається безпосередньо компанією Frontend First, Sam Selikoff, and Ryan Toronto або його партнером по платформі подкастів. Якщо ви вважаєте, що хтось використовує ваш захищений авторським правом твір без вашого дозволу, ви можете виконати процедуру, описану тут https://uk.player.fm/legal.
Player FM - додаток Podcast
Переходьте в офлайн за допомогою програми Player FM !
Переходьте в офлайн за допомогою програми Player FM !
React Deep Dive: cache
MP3•Головна епізоду
Manage episode 399728785 series 1635850
Вміст надано Frontend First, Sam Selikoff, and Ryan Toronto. Весь вміст подкастів, включаючи епізоди, графіку та описи подкастів, завантажується та надається безпосередньо компанією Frontend First, Sam Selikoff, and Ryan Toronto або його партнером по платформі подкастів. Якщо ви вважаєте, що хтось використовує ваш захищений авторським правом твір без вашого дозволу, ви можете виконати процедуру, описану тут https://uk.player.fm/legal.
Ryan and Sam discuss the purpose and usage of the cache() function, a new experimental API from React.
Topics include:
- 0:00 - Intro
- 2:29 - Caching in Next.js vs. React cache()
- 8:11 - Why React invalidates the cache for each server request
- 14:43 - How cache() enables colocation of data-fetching code
- 16:14 - Using cache() to share CPU-heavy or I/O-bound tasks between components
- 19:31 - Why cache() obviates the need for context in Server Components
- 23:19 - The danger of module scope on the server
- 27:54 - Why cache() is implemented with AsyncLocalStorage
- 41:04 - Why cache() is part of React
- 48:27 - Why Server Components don’t support cache()
- 53:04 - How cache() eliminates waterfalls
Links:
201 епізодів
MP3•Головна епізоду
Manage episode 399728785 series 1635850
Вміст надано Frontend First, Sam Selikoff, and Ryan Toronto. Весь вміст подкастів, включаючи епізоди, графіку та описи подкастів, завантажується та надається безпосередньо компанією Frontend First, Sam Selikoff, and Ryan Toronto або його партнером по платформі подкастів. Якщо ви вважаєте, що хтось використовує ваш захищений авторським правом твір без вашого дозволу, ви можете виконати процедуру, описану тут https://uk.player.fm/legal.
Ryan and Sam discuss the purpose and usage of the cache() function, a new experimental API from React.
Topics include:
- 0:00 - Intro
- 2:29 - Caching in Next.js vs. React cache()
- 8:11 - Why React invalidates the cache for each server request
- 14:43 - How cache() enables colocation of data-fetching code
- 16:14 - Using cache() to share CPU-heavy or I/O-bound tasks between components
- 19:31 - Why cache() obviates the need for context in Server Components
- 23:19 - The danger of module scope on the server
- 27:54 - Why cache() is implemented with AsyncLocalStorage
- 41:04 - Why cache() is part of React
- 48:27 - Why Server Components don’t support cache()
- 53:04 - How cache() eliminates waterfalls
Links:
201 епізодів
Усі епізоди
×Ласкаво просимо до Player FM!
Player FM сканує Інтернет для отримання високоякісних подкастів, щоб ви могли насолоджуватися ними зараз. Це найкращий додаток для подкастів, який працює на Android, iPhone і веб-сторінці. Реєстрація для синхронізації підписок між пристроями.