Discover the power of React error boundaries: A must-watch tutorial | React Tutorial

Поділитися
Вставка
  • Опубліковано 28 жов 2024

КОМЕНТАРІ • 29

  • @21sivansrawat
    @21sivansrawat Місяць тому

    Amazing Explanation

  • @theninjan
    @theninjan Рік тому

    Thank you for sharing your valuable knowledge and inspiring content to us💕🙏

  • @aparnakv6005
    @aparnakv6005 Рік тому

    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 😢

  • @aarora6710
    @aarora6710 5 місяців тому

    Hi Sofia i have done the same my errors are not getting caught. Can it be some issue with thw latest version of react ?

  • @shekharyadav6524
    @shekharyadav6524 3 місяці тому

    Nicely explained.🙏

  • @harivamsi9291
    @harivamsi9291 8 місяців тому

    Nice explanation 👍

  • @gayathrig3767
    @gayathrig3767 Рік тому

    Hi Sofia... love to learn from you. could you please add english subtitles 😢

    • @SofiaGoyal
      @SofiaGoyal  Рік тому +1

      It’s been way more time taking than my expectations, let me see what i can do to add it fast

  • @Shivamashish5236
    @Shivamashish5236 Рік тому

    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

    • @SofiaGoyal
      @SofiaGoyal  Рік тому +1

      Thanks, good idea, let me put some more videos related to react basics, then we can do a project

  • @TheSachinAlam
    @TheSachinAlam 25 днів тому

    Done !

  • @hawk453
    @hawk453 Рік тому

    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?

    • @SofiaGoyal
      @SofiaGoyal  9 місяців тому

      no, error boundaries will take care of the children as well, no need to wrap it to every child

  • @hitendrapatil9991
    @hitendrapatil9991 8 місяців тому

    How about functional component ? Could you please make vdo on error boundaries in functional component please ?

    • @SofiaGoyal
      @SofiaGoyal  8 місяців тому

      You can just wrap functional components in these error boundaries but unfortunately the methods for error boundaries are only supported in class based components

  • @scalpertrader61
    @scalpertrader61 Рік тому

    Is it mandatory to create error boundry in class based component only ?

    • @SofiaGoyal
      @SofiaGoyal  Рік тому +1

      The methods that used in error boundaries are supported by class based components only

  • @Shivamashish5236
    @Shivamashish5236 Рік тому

    Hello ma'am can please make video on this. topic and ${``} deeply explain where and how uses

  • @akhileshchauhan9561
    @akhileshchauhan9561 6 місяців тому

    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

    • @SofiaGoyal
      @SofiaGoyal  6 місяців тому

      U can use tsconfig to specify typescript configurations and also eslint to check lint issues

    • @akhileshchauhan9561
      @akhileshchauhan9561 6 місяців тому

      @@SofiaGoyal Thanks mam

  • @pradeepp6527
    @pradeepp6527 11 місяців тому

    Nice ❤

  • @acxd
    @acxd Рік тому

    why isnt there a functional component for error boundaries

    • @SofiaGoyal
      @SofiaGoyal  9 місяців тому

      because the methods getDerivedStateFromError and componentDidCatch are lifecycle methods which are not supported in functional components

  • @sumitbhardwaz
    @sumitbhardwaz Рік тому

    Thats Suspense api

    • @SofiaGoyal
      @SofiaGoyal  Рік тому

      Suspense api is used to provide fallback until an async call is finished, like adding a spinner until you get data, understand the difference.

  • @mr.bjajsinghaniya2872
    @mr.bjajsinghaniya2872 8 місяців тому

    Didi code to dedo

  • @patelrajkumarnareshkumar8156

    Nice explanation 👌