@@vp351well, it is still possible though. You could create a boolean that turns true after 5 seconds, which will in turn, load the lazy loaded component after 5 seconds.
Cool, but what can we do if we need to keep the previous content before loading the next one? I mean, you click on a nav link, then a progress bar shows the loading process while the content is still on the page. After the next page content loads, the old content is replaced with the new content.
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
i have watched your video and it is very helpful for me, i have cloned the code but banner.js and homepage is not importing and output is not displaying what should i do please help for my intership
I wonder why my routes is not getting splitted when i run build, it seems the same as not using lazy strategy, has someone faced the same as me? would someone tell me what could be the problem? (im using react 17, and its CRA)
i have watched your video and it is very helpful for me, i have cloned the code but banner.js and homepage is not importing and output is not displaying what should i do please help for my intership
I've implemented lazy and suspense into some of my projects before, but i never head of the error boundary. Big thanks for explaining it!
but what if we want to load the component after specific time for example 5 sec.. bcoz lazy loading does not provide that feature..
@@vp351well, it is still possible though. You could create a boolean that turns true after 5 seconds, which will in turn, load the lazy loaded component after 5 seconds.
@@vp351 Hi, I'm looking for the same did u find the answer?
Thank you for explaining the error boundary part.
Excellent video!
Hey. Seriously. Thank you. I just downloaded soft and I can CLEARLY see why your vid was recomnded. You're an aweso intro into
i am already using it for long time.
it's amazing
That's Great!
@@RoadsideCoder BHAIYA APKA VS CODE KA LAYOUT SETTING ACHA HAI SHARE KR SAKTE HO KAISE APPLY KIYA?
For theme, I use peacock extension
@@RoadsideCoder and font?
Default
Videos like these are really helpful and the way you have explained the things is really nice, you just gained a subscriber ❤️
Thanks for subbing!
The way you have explained the things is really nice, you just gained a new subscriber ❤
I was asked Code Splitting in an interview.
Me too
15:00 both page are different before they check only loclhost:3000 after they check other page that why performance is not increase
thnx a lot for lazy loading and error boundary concept i am gonna implementing this to my project
Great video thanks 🙌🏾🙌🏾🙌🏾
very conceptual , maza aa gaya
It was worth watching man.
aap purush nahi ho, punya purosh ho, excellent
Thanks man keep posting these kind of videos..
I will 🙏
Video was very helpful. Thanks mate
Glad to hear that
I don't think you're testing the same endpoints for both lighthouse tests.
/ Vs / coins...
Great video. 🔥
Thanks 🙏
Bhai, then with webpack also we can do code splitting?
nice tuto Thank you!
Great explanation
Thank u so much man great video.
I had a question.Is it ok to add react lazy to all components?
Great brother 👏🏻👏🏻
Cool, but what can we do if we need to keep the previous content before loading the next one? I mean, you click on a nav link, then a progress bar shows the loading process while the content is still on the page. After the next page content loads, the old content is replaced with the new content.
this is fine but while putting this things in deployment we are getting chunk load error how to resolve that
Bro how to safeguard our web servers like in MERN stack from Slow Loris attack or some other attacks like Ddos and something?
but what if we want to load the component after specific time for example 5 sec.. bcoz lazy loading does not provide that feature..
Bhai issue. Yeh hai ki code spllitted compnets lod hi nahi hote toh kya kre
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
Amazing teaching
please do a MERN stack project with typescript
definetly
All the best,
Thanks
Welcome
Another reason to use next js instead of react js 🙏
i have watched your video and it is very helpful for me, i have cloned the code but banner.js and homepage is not importing and output is not displaying what should i do please help for my intership
great video, but can you use it in a SSR using react, webpack, babel please
Can we lazy load a context? Like component
Probably not
@@RoadsideCoder what about lazy loading a nested route ? (like in react-router v6)
Helpful video
Glad to hear that
Which will be the next topic?
Wow.
This is optimization is next level optimization.
Sir please upload olx clone tutorial
Added to the list
Where was added it sir
I mean my personal list of video ideas 😄
Haaa haaa 🤣😂 I am waiting for your olx clone tutorial sir
I wonder why my routes is not getting splitted when i run build, it seems the same as not using lazy strategy, has someone faced the same as me? would someone tell me what could be the problem? (im using react 17, and its CRA)
Bhaiya can you provide us MERN stack interview questions sheet 🖤
Yea sure
Sir ye project complete ho gya kya mujhe mere clg me meajor project me dena hai
Yes completed
Amazing !!
Infinite scrolling pe bhi ekk video banao
sure
Nice tutorial, has react become seo friendly its showing 100% against SEO
Thanks!
He used CRA it seems
great
But I have a problem
Appreciate you for this video! more grease to your elbows
Great videos 🤯🔥
Thanks 🤟
You are awesome
Bhai Redux ka tutorial bana do easy jo samjh aa jay
Already bana rakha h.
@@RoadsideCoder kya lastest me mapstateprop and dispatch wala function use nhi hota hai mene codewith harry ka dekha tha usme nhi tha
Yes ab hum mostly functional approach use krte hai, with useSelector and useDispatch hooks.
But u can use old approach as well.
for me lazy,Suspense nat working.
I presume that the reason of the shitty performance is css-in-js ?
sadly im with you a year later lol
cool, very interesting
Thanks
i have watched your video and it is very helpful for me, i have cloned the code but banner.js and homepage is not importing and output is not displaying what should i do please help for my intership
Great
Thanks