Improve Your React App's Performance w/ Lazy Loading!

preview_player
Показать описание
Many people probably don't know that React loads all imports regardless if they render or not. However, with lazy loading, you can fix this and improve your web app's performance.
Рекомендации по теме
Комментарии
Автор

Subscribe if you want more useful web development/programming tips/tutorials!

TrevoltIV
Автор

You also need to add a fallback on the lazy loaded component, plus add ErrorBoundaries in order to handle any unforseen errors while loading the component

harshitprasad
Автор

Youtube Shorts are super helpful for learning. Thanks!

goosfraba-man
Автор

I should keep praying to God so I can excellence in intellectual and physical achievements. Oh God I have abilities, gifts for both! Thanks.

IsraelCountryCube
Автор

Can we see all those pages being compress or minified on page load in the network tab!?

parvezshaikhjr
Автор

Would this still work well assuming you have a separate import file for all your imports, then export them to the pages that need them

slliks
Автор

i know this is a shorts, but damn it didn't even tell the module name from where that lazy is imported, atleast give the details on the code

ban_droid
Автор

Ok. Ive seen many videos about HOW to do this. Im still wondering WHEN I should

jixster
Автор

Why to use router when you can make algorithm don't know about other
But I do that🗿

ayeshashaikh
Автор

Import? Simple pheasant I put allll my code in my App.jsx. no need for Components or needles jsx files.

bernardus
visit shbcf.ru