Lets say if App component is wrapped by Error boundary,,,then does the errors in the child of App are also handled or should we wrap its child again under error boundary?
You can just wrap functional components in these error boundaries but unfortunately the methods for error boundaries are only supported in class based components
I was enjoying your previous videos a lot since I'm currently preparing for interviews and using your old videos for reference. With new videos, 1 small problem... I am from Tamil Nadu and I don't understand any Hindi words you're speaking 😢
Mam ReactJs me koe components import hone par man lo kahi spelling me wrong ho gaya error underline me aaye ye "Extension kaise add kare VS Code me " plz reply me mam
Hello Sofia ma'am you are great teacher specialy you can on front of screen and explain me Ma'am can you please make full react tutorial is topic wise deep explanation with project It my request ma'am
Amazing Explanation
Thank you for sharing your valuable knowledge and inspiring content to us💕🙏
Hi Sofia i have done the same my errors are not getting caught. Can it be some issue with thw latest version of react ?
Nice explanation 👌
Nicely explained.🙏
🙏
Lets say if App component is wrapped by Error boundary,,,then does the errors in the child of App are also handled or should we wrap its child again under error boundary?
no, error boundaries will take care of the children as well, no need to wrap it to every child
How about functional component ? Could you please make vdo on error boundaries in functional component please ?
You can just wrap functional components in these error boundaries but unfortunately the methods for error boundaries are only supported in class based components
I was enjoying your previous videos a lot since I'm currently preparing for interviews and using your old videos for reference.
With new videos,
1 small problem...
I am from Tamil Nadu and I don't understand any Hindi words you're speaking 😢
Is it mandatory to create error boundry in class based component only ?
The methods that used in error boundaries are supported by class based components only
Nice ❤
Hi Sofia... love to learn from you. could you please add english subtitles 😢
It’s been way more time taking than my expectations, let me see what i can do to add it fast
Hello ma'am can please make video on this. topic and ${``} deeply explain where and how uses
Done !
Mam ReactJs me koe components import hone par man lo kahi spelling me wrong ho gaya error underline me aaye ye "Extension kaise add kare VS Code me " plz reply me mam
U can use tsconfig to specify typescript configurations and also eslint to check lint issues
@@SofiaGoyal Thanks mam
Hello Sofia ma'am you are great teacher specialy you can on front of screen and explain me
Ma'am can you please make full react tutorial is topic wise deep explanation with project
It my request ma'am
Thanks, good idea, let me put some more videos related to react basics, then we can do a project
why isnt there a functional component for error boundaries
because the methods getDerivedStateFromError and componentDidCatch are lifecycle methods which are not supported in functional components
Thats Suspense api
Suspense api is used to provide fallback until an async call is finished, like adding a spinner until you get data, understand the difference.
Didi code to dedo
Nice explanation 👍