React lazy loading with React.lazy

preview_player
Показать описание


00:00 LogRocket intro
00:18 Intro to lazy loading in React
00:43 What is lazy loading in React?
02:31 How does React code splitting work?
03:22 What is a dynamic import?
04:55 What is React suspense
07:12 What is route-based code splitting?
07:24 What is React loadable?

Links
Рекомендации по теме
Комментарии
Автор

Phenomenal! Clear and concise. thank you for the explanation!

RandomRamblingAndRants
Автор

This is great, thank you! Direct, simple, clear. Going to try and implement this immediately in a project I'm working on, hopefully save me some headaches. Thanks again!

JeremyKolassa
Автор

Hi, I'm still learning about react. I wanna ask, do we need to use react-loadable for all our components?

redy_
Автор

so which effective method to split up main js size? lazy or loadable?

hemat_energi