ReactJS Tutorial 76: Separating Context Into Its Own File In React

Поділитися
Вставка
  • Опубліковано 5 лют 2025
  • In this lecture we will learn how to separate context into its own file in React.

КОМЕНТАРІ • 8

  • @SURUTHIP-f3y
    @SURUTHIP-f3y 4 місяці тому

    This video made me more confident in React. You are an awesome tutor on UA-cam, the best I've ever seen❤

  • @thebw-bw
    @thebw-bw 2 місяці тому +1

    one small remark: i was tryin to `login` using different name but the `value` stays in input box even after i clicked login, then i add one line `setValue(" ")` in the handleSubmit function to clean the last input

  • @premsurvase3896
    @premsurvase3896 4 місяці тому +1

    Hello sir, first of all thank you so much for such a great content 🙏,,,, now I'm at 24th video, when I see full playlist in that i can see only 52 videos and after that directly this 76th , so please tell me about how and where to continue this series after 52 videos.

    • @ashutoshpawar
      @ashutoshpawar  4 місяці тому

      Check videos on the channel homepage, till date we have 78 videos uploaded, check this link ua-cam.com/play/PLSsAz5wf2lkKm0BG9wUWWSgYWBzDa-dFs.html

  • @christophermawela3318
    @christophermawela3318 4 місяці тому +2

    Creating context on its own component was difficult to understand instead, you were supposed to start create, provide context on its own JSX file from scratch, Copy and paste is hard to follow especially on a complex topic like this. It was easier for me to follow as I already had an idea on Context API. but for a complete beginner it's a nightmare...

    • @ashutoshpawar
      @ashutoshpawar  4 місяці тому

      But first it is important to understand how context works, having it in the same file makes it easier to understand.

    • @christophermawela3318
      @christophermawela3318 4 місяці тому

      ​@@ashutoshpawarYou made it much more easier first at #75, on #76 was a bit confused, but when I reviewed code after you completed then it became clear to me. I'm delighted to learn from these series, I'm very excited and I now understand React. I'm waiting for you to add Custom Hooks and maybe Redux and smaller projects tutorials... I'm happy you keep your tutorials simple. I was at tutorial hell before these course...

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

    Login.jsx:6 Uncaught TypeError: Cannot destructure property 'user' of 'useContext(...)' as it is undefined.
    I am getting this error if anybody has resolved this please share the code