React Lazy Load Code to Load Faster | React Code Splitting Tutorial

  Рет қаралды 37,679

Dave Gray

Dave Gray

Күн бұрын

Пікірлер: 79
@Web-Himansu
@Web-Himansu Жыл бұрын
Your quotes is always remember "keep striving for progress, not perfection ".
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Right on! 💯
@devkumar9889
@devkumar9889 Жыл бұрын
What a coincidence, I learnt this just now in my course 😂 , and I think this one is even in more detail .
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Nice!
@voice_famous_books4301
@voice_famous_books4301 11 ай бұрын
We have a lot of good teachers for teaching programming but you are the best:)
@Web-Himansu
@Web-Himansu Жыл бұрын
Your voice is calm,clean and beautiful voice and I learn deeply from your Video textbooks .
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Thank you! 😃
@ghulammujtaba9236
@ghulammujtaba9236 Жыл бұрын
I kept receiving warnings in the app to add Error Boundary. Now I know what to do. Awesome tutorial.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Glad to hear it helped!
@mrbilchalan
@mrbilchalan Жыл бұрын
in role based applications, its very much useful. thank u. thanks a lot.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
You're welcome!
@thedevelopermind
@thedevelopermind Жыл бұрын
You are a great teacher, Dave! Thanks for this priceless videos.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
You're welcome!
@sahaneakanayaka3394
@sahaneakanayaka3394 Жыл бұрын
Another great tutorial Dave... I have a small request though. Would you like to create a tutorial on how to deploy web apps. Different options for deploying web apps, security concerns etc. There are not much tutorials on deployment process, if you can create one that is definitely going to help 🙏🙏❤
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Thank you! You can search my channel from the channel homepage. I have a few tutorials on different deployments. Here is one of them: kzbin.info/www/bejne/Y3rCZ56MhdeLaNE
@ampleeeeeeeee
@ampleeeeeeeee 3 ай бұрын
Thanks, I was having some weirdness with my router and this helped find the issue
@djt6fan
@djt6fan Жыл бұрын
Hey Dave, I love your teaching style and your explanations are clear, I would like to make a request, and I'm sure many would appreciate it if you could find some time to do this: would it be possible for you to create a course akin to data structures and algorithms, or at least something similar to that, teaching us how to approach a problem from a programmer's standpoint? I have learned a great deal about web dev from your videos, but I feel I still lack the logic when I approach a logical problem in JavaScript problem, or any language at that. Would it even be possible to teach this using JS, since most such courses are in C/C++? Love your work, keep doing what you're doing!
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Thank you and thanks for the request!
@IamPali2024
@IamPali2024 9 ай бұрын
Criminally underrated 👏👏👏👏
@agus-wesly
@agus-wesly Жыл бұрын
Thx Dave, I learn a lot from your videos
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Glad to hear that!
@osiris9843
@osiris9843 9 ай бұрын
You are a great teacher, sir...
@blainenye7049
@blainenye7049 Жыл бұрын
Well done Dave! Very clear and to the point.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Thank you!
@kamichikora6035
@kamichikora6035 Жыл бұрын
This is why I love this channel... Is always useful and practical
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Glad to hear it!
@Arshi728
@Arshi728 Жыл бұрын
It would be great if you do full fledge video on making scalable app using all these advanced React concepts
@dopetag
@dopetag Жыл бұрын
Thanks, Dave!
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Welcome!
@MOJICA7257
@MOJICA7257 Жыл бұрын
Thanks! Dave for another great content.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
You're welcome!
@willyhorizont8672
@willyhorizont8672 Жыл бұрын
Yeay in depth review of React.lazy and React.Suspense 🚀🚀🚀🚀
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Right on! This video uses React Suspense because React.lazy requires it, but I cover Suspense in depth in a separate video here: kzbin.info/www/bejne/Z5DHfZSJn9-Cg7s
@willyhorizont8672
@willyhorizont8672 Жыл бұрын
@@DaveGrayTeachesCode I know. I watch the Suspense video a lil while. now with this its complete. Thanks Dave!! 🚀🚀🚀
@khalilbenmeziane8836
@khalilbenmeziane8836 Жыл бұрын
thank you mr dave keep going 👍🥰
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
You're welcome!
@TravinskiyVladislav
@TravinskiyVladislav Жыл бұрын
Thank you, Dave
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
You're welcome!
@maroinealarabi1473
@maroinealarabi1473 Жыл бұрын
Hey Dave I have a recommendation about web development freelancing if you have an experience or info about it to make some videos how the process goes from a to z best wishes tnx for your effort you put in the channel
@hardwired66
@hardwired66 Жыл бұрын
Thank you for the lesson sir, next maybe react unit testing async form
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Thank you for the request!
@Hacking-NASSA-with-HTML
@Hacking-NASSA-with-HTML Жыл бұрын
Thank you so much sir🤝 Your work is very impressive👍❤
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
You're welcome!
@danushkap
@danushkap Жыл бұрын
Hi Dave, Could you kindly do a video series on "React Native" Thanks so much.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Thank you for the request! I do want to cover React Native sometime this year 😀
@danushkap
@danushkap Жыл бұрын
😁 Oh! Thanks so much Dave..
@rakaa31
@rakaa31 Жыл бұрын
please make videos with facecam as it keeps us more engaging
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Check the community tab on my channel for my recent survey about this.
@shinpaingmin603
@shinpaingmin603 11 ай бұрын
Sir, can you explain me the difference between Blurhash for image lazy loading and code splitting. If I use code splitting, do I still need to use Blurhash and vice versa.
@sohitmodi9743
@sohitmodi9743 Жыл бұрын
Hey Adrian recommended me to watch your videos for getting updated with latest React features that is brilliant.. I have 1 request it would be great if you do it. Can you make a video on React-boilerplate ??? With (React, rtk, routing, API integration _common file) I promise I will share personally to 80-100 peoples in my company.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Thank you for the request!
@abdullahalani1188
@abdullahalani1188 Жыл бұрын
Great explanation Dave! Also could you please give me the name of the extension that shows the lines from the opening to the closing brackets around the code block? Min 9:30 onwards
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
No extension needed. Here's how to set it up: kzbin.infoMDaxWffMjrQ
@abdullahalani1188
@abdullahalani1188 Жыл бұрын
@@DaveGrayTeachesCode Thanks a lot!
@fikilekentane6982
@fikilekentane6982 Жыл бұрын
tnx Dave, u awsome 🙏
@andre-wv9eg
@andre-wv9eg 10 ай бұрын
Thanks for tutorial sir
@ivankraev4264
@ivankraev4264 Жыл бұрын
Great, I have one question If I want to navigate from home page to about page (which is lazy loaded), and while about page is being resolved, to remain on the. home page and show some loading overlay, how can I do that ?
@aishanstha
@aishanstha Жыл бұрын
if there is a way we could wrap lazy-suspense for various providers like: redux, context API etc?
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
It works well with SWR. Check documentation for your API layer of choice.
@aishanstha
@aishanstha Жыл бұрын
@@DaveGrayTeachesCode i got messed trying to use lazy on my named exports😁 Really appreciate if could make a continue video onto it in future with uses of redux providers n other named exports providers. Thanks🙏
@michaelscofield2469
@michaelscofield2469 Жыл бұрын
Plase make videos about webpack and babel, if you have knowledge
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
Good tool topics! They are often used "under the hood" when we build a project - for example, when a React project is built with "npm run build". However, Vite does not use webpack. Read more here: vitejs.dev/guide/why.html ...You can play around with Babel here: babeljs.io/
@michaelscofield2469
@michaelscofield2469 Жыл бұрын
@@DaveGrayTeachesCode Thank you
@waleedsharif618
@waleedsharif618 Жыл бұрын
@@DaveGrayTeachesCode also Nextjs does not use webpack
@SanthoshBhoopal
@SanthoshBhoopal 2 ай бұрын
Does SSR make this obsolete?
@yabuking84
@yabuking84 6 ай бұрын
when do onReset executes?
@krunalshrimali4471
@krunalshrimali4471 Жыл бұрын
What is error boundary used for ?
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
The video I recommend on React Suspense and Error Boundaries covers it here: kzbin.info/www/bejne/Z5DHfZSJn9-Cg7s
@krunalshrimali4471
@krunalshrimali4471 Жыл бұрын
Thanks
@onur-9158
@onur-9158 Жыл бұрын
what to do with my lader and action ?
@TheTomislavb
@TheTomislavb Жыл бұрын
Great video but there is a glitch when navigating to the admin page for the first time
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
What you are seeing - very briefly if it seems like a glitch - is the component Suspense provides while loading the admin area. This would likely take longer when loading a true admin dashboard or other larger amount of code.
@TheTomislavb
@TheTomislavb Жыл бұрын
​@@DaveGrayTeachesCode I know, the Skeleton component is shown for a really short time. Too bad this looks like a glitch
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
@@TheTomislavb Just understanding the concept is what is important here. In a deployed app, it would likely take longer to load and not be such a brief flash. It works as intended.
@khitibhusannaik1471
@khitibhusannaik1471 Жыл бұрын
Hello Sir, I learned these things from you, 1- html 2- css 3- tailwindcss 4- javascript 5- react 6- git/github now I want to start some freelancing can I start my freelancing and prepare for more advanced web development journey for companies with this. 🎨 🔵🏃‍♂🏃‍♂🏃‍♂
@augustineudeh1584
@augustineudeh1584 Жыл бұрын
First here
@sonamohialdin3376
@sonamohialdin3376 Жыл бұрын
Thank you for the useful tutorial
@DaveGrayTeachesCode
@DaveGrayTeachesCode Жыл бұрын
You are welcome!
React Debounce Search Input API Call | useDebounce React Hook
16:09
Speed Up Your React Apps With Code Splitting
16:50
Web Dev Simplified
Рет қаралды 391 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 5 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,8 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 5 МЛН
How To Load Images Like A Pro
15:48
Web Dev Simplified
Рет қаралды 384 М.
Code Splitting in React JS - Lazy Loading Performance Optimization
16:10
The Untold Story of VS Code
12:42
CodeSource
Рет қаралды 105 М.
Data Fetching using React Suspense and Error Boundary - React Data Fetching Patterns.
34:32
Big Suspense Changes in React 19: Explained In Code
17:31
Jack Herrington
Рет қаралды 27 М.
These Mistakes Slow Down Your React App!
11:38
Lama Dev
Рет қаралды 42 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 488 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
8 React Js performance optimization techniques YOU HAVE TO KNOW!
11:23
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 5 МЛН