ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

🌈 16 - React Context API - What is Context - The useContext Hook

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ส.ค. 2024
  • Learn about the React Context API. This video shows the usages of the context API by taking an example with props and refactoring the code to use context.
    Learn the real-life usages of React context APIs like,
    - The createContext method
    - Providers
    - The useContext hook.
    Also, know when to use context and when not to. Please practice as you learn. You can DM me on Twitter if you have questions.
    Timecodes
    0:00 - Introduction
    00:30 - The Family Story: Props and Context
    03:02 - Family App using Props passing
    14:21 - What is Context in React?
    17:57 - Family App using React Context API
    28:22 - When to use Context vs Props
    Important Links
    ---------------------------
    - Source Code: github.com/ata...
    - Twitter: / tapasadhikary
    🙏 Do you want to Support my Work? Please follow this link to learn "How To",
    - github.com/spo...

ความคิดเห็น • 44

  • @baylonyap1113
    @baylonyap1113 8 วันที่ผ่านมา +1

    all I can say is 'AWESOME GUY'... I salute this Instructor... He has a unique way of teaching... "easy to understand"

  • @sohansingh2022
    @sohansingh2022 7 วันที่ผ่านมา +1

    Smooth explanation!

    • @tapasadhikary
      @tapasadhikary  7 วันที่ผ่านมา

      Glad it was helpful!

  • @mekalapraveen-xn4rl
    @mekalapraveen-xn4rl 5 หลายเดือนก่อน

    Hi Sir, You are awesome. Your way of visual explanation is great. And an expecting more videos with new concepts.

  • @kirtisharma3820
    @kirtisharma3820 ปีที่แล้ว +1

    Explanations are simple and very easy to understand. Thank you for taking out time to create this series!

    • @tapasadhikary
      @tapasadhikary  ปีที่แล้ว +1

      My pleasure Kirti. Keep learning and please share the series in your dev circle 🤗

  • @techdev4180
    @techdev4180 10 หลายเดือนก่อน +1

    After watching this get clarity on how can useContext.
    Thanks, Tapas for the valuable content

    • @tapasadhikary
      @tapasadhikary  10 หลายเดือนก่อน

      Awesome, glad to know 💛

  • @prasenjitsaha5322
    @prasenjitsaha5322 2 ปีที่แล้ว +2

    Thanks for all the wonderful tutorials. Please make videos on routing and forms.

  • @abhijeetkaushal1343
    @abhijeetkaushal1343 9 หลายเดือนก่อน +1

    Glad I followed you and this playlist ! code examples are really simple and explanation is on point. Thanks a lot sir for your effort of teaching us React.

    • @tapasadhikary
      @tapasadhikary  9 หลายเดือนก่อน

      Thanks a lot ❤️

  • @doruktekel3438
    @doruktekel3438 4 หลายเดือนก่อน

    I want to say , you are a good teacher first of all because i learn lots of things from you , i already know the context , reduecer , prop drilling etc.. but this last two videos very confusing , firstly you use context in app.js if i am begineer its very difficult to understand why we dont use a context folder in the sources , secondly lots of ingredients for the understanding prop drilling 2-3 is enough for beginners , and we cant reach the context from the witout Family component this is not to be a clear way , maybe i want to reach the context in my whole project. But also thanks for your efforts to this video

  • @stephikebudu
    @stephikebudu 11 หลายเดือนก่อน

    Thank you Tapas!!! Your video did it for me…again!!!🤝🏽👏🏽

    • @tapasadhikary
      @tapasadhikary  11 หลายเดือนก่อน

      You are most welcome ❤️💛❤️

  • @soumyaranjan6946
    @soumyaranjan6946 2 ปีที่แล้ว +1

    ❤️ waited for this from long

    • @tapasadhikary
      @tapasadhikary  2 ปีที่แล้ว

      Hope you find it helpful too 👍

  • @Mahmoud_A999
    @Mahmoud_A999 ปีที่แล้ว +1

    I love your explanations .. you are amazing 😍

    • @tapasadhikary
      @tapasadhikary  ปีที่แล้ว +1

      Thanks a lot, glad you liked it 👍

  • @opencode1
    @opencode1 หลายเดือนก่อน

    AMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzing, really like it

  • @SpaceDino6928
    @SpaceDino6928 9 หลายเดือนก่อน +1

    Great stuff, thank you!

    • @tapasadhikary
      @tapasadhikary  9 หลายเดือนก่อน

      Thanks a lot 🙏

  • @balbhavanschool7358
    @balbhavanschool7358 2 ปีที่แล้ว +1

    ✨ absolutely amazing

  • @beatx2173
    @beatx2173 9 หลายเดือนก่อน +1

    awesome

  • @arankengineer7947
    @arankengineer7947 9 หลายเดือนก่อน

    sir.,why do not we directly export secret and import it where it is needed

  • @arankengineer7947
    @arankengineer7947 2 หลายเดือนก่อน +1

    hello sir i am creating a context and using same context multipletime with different values like this





    is it ok?

  • @prathameshkhadakban1485
    @prathameshkhadakban1485 2 ปีที่แล้ว +1

    Thanks Tapas, Great Explanation.
    Any plan for REDUX video ?

    • @tapasadhikary
      @tapasadhikary  2 ปีที่แล้ว

      Thank you! Yes redux will publish.

    • @tapasadhikary
      @tapasadhikary  2 ปีที่แล้ว

      Here you go, the first one!
      🚀 17 - Redux - What is Redux - When to use Redux - Store - State - Actions - Reducers
      th-cam.com/video/ey0SYV-OBo4/w-d-xo.html

  • @nikhilm5651
    @nikhilm5651 2 ปีที่แล้ว +1

    Fabulous

  • @suchakbarik2180
    @suchakbarik2180 2 ปีที่แล้ว +1

    When will this series get completed?
    Want to learn it and apply for internsips asap 😅😅

    • @tapasadhikary
      @tapasadhikary  2 ปีที่แล้ว

      I just have redux, forms to complete. Rest all there. Finally will cover QA in a couple of videos. So I guess you got most of it there already 👍

    • @ShubhamSingh-qo3lm
      @ShubhamSingh-qo3lm 2 ปีที่แล้ว +1

      @@tapasadhikary eagerly waiting for your redux videos 🔥

    • @tapasadhikary
      @tapasadhikary  2 ปีที่แล้ว +1

      @@ShubhamSingh-qo3lm Look like the pressure is high. I'll release it the first one before end of the month. There will be 2 videos on redux concept(including useReducer hook)

  • @ritikgupta1133
    @ritikgupta1133 ปีที่แล้ว +1

    is this react series complete as you described in your roadmap video ?

    • @tapasadhikary
      @tapasadhikary  ปีที่แล้ว +1

      Mostly. I need to cover the useReducer, theming and app. Also I will cover React 18 which was not part of the original roadmap.

    • @ritikgupta1133
      @ritikgupta1133 ปีที่แล้ว +1

      @@tapasadhikary i have watched first two videos and i liked your explanation ausm thanks for creating the playlist

    • @tapasadhikary
      @tapasadhikary  ปีที่แล้ว

      Great, thanks!