Optimize data fetching with the new `cache` function in NextJs

Описание к видео Optimize data fetching with the new `cache` function in NextJs

In this video, we'll use React's new `cache` function to optimize our NextJs app by caching data fetches and expensive computations and pre-loading data prior to rendering the component.

👉🏼 The Ultimate NextJs 14 Course
→ https://www.hamedbahram.io/courses/ne...

👉🏼 Project source code (Github)
→ https://github.com/HamedBahram/react-...

👉🏼 React documentation
→ https://react.dev/reference/react/cache

👉🏼 Work with me
→ https://www.hamedbahram.io/hire

Chapters
0:00 Intro
3:20 Convention
5:15 Caveats
7:45 Example usecases
12:20 When to use cache
15:25 Project code setup
16:50 Caching db queries
19:25 Preloading data
24:54 Recap

Комментарии

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