Learn how to use Props in React in 19 minutes (for beginners)

Поделиться
HTML-код
  • Опубликовано: 25 июн 2024
  • 🚨 Join the world’s BEST developer community “Zero to Full Stack Hero”: www.papareact.com/course
    📩 Want coding problems (with solutions!) delivered to your inbox daily? www.papareact.com/dailycoding...
    This video is designed to get you familiar with Props in React where we cover topics such:
    👉 What Props stands for
    👉 Where are Props used
    👉 How are Props passed
    👉 Build an Amazon style app to explain how Props work!
    🔴 LOOKING FOR THE CODE? 🛠️
    links.papareact.com/github
    👇🏻FOLLOW ME HERE:
    Instagram: links.papareact.com/instagram
    Facebook: links.papareact.com/facebook
    LinkedIn: links.papareact.com/linkedin
    Twitter: links.papareact.com/twitter
    Discord: links.papareact.com/discord
    Newsletter: links.papareact.com/newsletter
    💰 WANT TO SUPPORT THE CHANNEL?
    Donate here: links.papareact.com/donate
    Grab some PAPA Merch: links.papareact.com/merch
    🕐 TIMESTAMPS:
    00:00 Intro
    00:19 Skillshare Sponsorship
    02:00 Introduction to Props
    03:13 Example of using Props
    06:29 Building a demo app for Props
    12:04 Destructuring Props
    12:43 Building a Sub Component
    14:14 Passing down Props
    15:47 Refactoring to Class Based Component
    17:16 A small tip!
    18:06 Summary
    18:34 Outro
    Let’s get it PAPAFAM 🔥.
    #react #props #javascript

Комментарии • 162

  • @SonnySangha
    @SonnySangha  Год назад +3

    📬Do you want DAILY coding problems sent DIRECTLY to your Inbox? (with solutions the next day) 👉 links.papareact.com/university

  • @bojanangeleski129
    @bojanangeleski129 2 года назад +161

    Hey sonny, I just wanna thank you, because of you I win hackathon for react JS, and I get scholarship for 1100 euros and job offer for 2 years. I am starting on 1st of November as an intern 3 months and as a junior 2years. So big big thank you for motivating me and being so good on what you do. I am waiting for more react native content and I wish all best for you. God bless you. FIRE CONTENT 🔥🔥🔥 papa react for life

    • @SonnySangha
      @SonnySangha  2 года назад +28

      WOW that’s AWESOME dude thank you for making my day!!! #PAPAFAM

    • @ahmeism90
      @ahmeism90 2 года назад +2

      🔥👏🏼

    • @danaharley3565
      @danaharley3565 2 года назад +2

      🔥🔥🔥

    • @Skillshat_official
      @Skillshat_official 2 года назад +3

      Where you got job, which hackthon u win, where u learned, please tell complete

    • @Dedition
      @Dedition 2 года назад +4

      How's life 7 months later?

  • @mikolots
    @mikolots Год назад +2

    Love how you keep it real while breaking things down enough for anyone to understand. You got that high intelligence yet still keep it in simple terms for beginners. I was struggling with grasping props on *several* tutorials until I saw your video. You helped me progress more toward my ultimate goal; will be watching more of your videos until I get there.

  • @ahmedchabayta4163
    @ahmedchabayta4163 2 года назад +1

    Been a while lurking watching your tutorials. And I wanted to say I appreciate your work and the effort you put into making these tutorials as good as they are. I think I speak on behalf of anyone who's trying to learn javascript when I say this, thank you for the beautiful work you do and the passion that is apparent behind the work.

  • @vrdevchris5008
    @vrdevchris5008 2 года назад +18

    Yo man, I am now a Senior Frontend Engineer and I love even your basic stuff because it's always good to revisit basics to fill in holes and also reinforce understanding. I'm learning a ton from your content and I can tell from experience that you are spending some serious time/effort on your stuff, it's really showing. Thanks for your efforts and please keep it up!

    • @postingbmwm3
      @postingbmwm3 2 года назад

      After how many years can one call themselves senior?

    • @vrdevchris5008
      @vrdevchris5008 2 года назад +3

      @@postingbmwm3 Senior is just a job title. Took me a couple years of intense React dev and tons of work, but I got a job as a Senior React dev afterwards.
      Probably takes a solid 3,000 - 4,000 hours in the craft to get there, about what it took me.

    • @sujathareddyp9444
      @sujathareddyp9444 Год назад

      can you teach me mr.charis

  • @DanielLekhok
    @DanielLekhok Год назад

    This is one of those gems, simplified and explained the props with a very easy to understand example! Awesome video

  • @boneykingofsomewhere
    @boneykingofsomewhere Год назад

    I've learned a lot from these short videos, I've been learning react on-off for a while but this and useState video really helped me understand exactly how and why they work, thanks a lot Sonny.

  • @zalodias123
    @zalodias123 2 года назад +1

    Very nice explanation of data flow in props, finally grasped it! Thanks Sonny!

  • @jimmyopot1972
    @jimmyopot1972 2 года назад +10

    Sonny today (22 nd September 2021) I closed in on a Front end React Job here in Nairobi, Kenya. This was largely because of your react videos I've been following for the past couple of months. I know thank you isn't sufficient to show my gratitude bro, but keep doing what you do, you are literally impacting lives.

    • @SonnySangha
      @SonnySangha  2 года назад +4

      Dude!!! That is incredible well done!!!! A thank you is a blessing so thank you dude for sharing!

    • @pythonwolf3817
      @pythonwolf3817 2 года назад +1

      congrats bro, happy for you 😇🙂🥳🥳

    • @bellasvideo5620
      @bellasvideo5620 Год назад

      🤣😂

    • @bellasvideo5620
      @bellasvideo5620 Год назад

      @@SonnySangha 😂

  • @RockstahRolln
    @RockstahRolln 2 года назад +1

    This has been a very useful video! Thanks a LOT for putting out this demonstrative and simplified video, it makes React coding a lot more fun!

  • @michaelcurrie7972
    @michaelcurrie7972 2 года назад

    Good video Sonny. Going through this stuff in school and you made it a little more clear!

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip 2 года назад +1

    Easy and crisp teaching!! Thanks a ton. You just earned a subscriber buddy!!🙌

  • @Avarn388
    @Avarn388 2 года назад

    Well done. I’be been learning react JS and this video really cleared up a lot of what I was struggling with props. So thank you for that.

  • @Arabian_Epileptic
    @Arabian_Epileptic 2 года назад +12

    Sonny! I can't wait for the next 5 day build series! I wonder what application is next :)

  • @bahramahmedzade7038
    @bahramahmedzade7038 2 года назад +2

    Good tan :) Finally you are back, man

  • @shadykhatri5668
    @shadykhatri5668 2 года назад

    Best video about props
    Got everything clear within 19 minutes
    Thanks

  • @ramanarc
    @ramanarc Год назад

    dude you're awesome, I was having a hard time understanding this but you explained it very simply - thanks!

  • @jordanekul
    @jordanekul 7 месяцев назад

    Brilliantly concise video, thanks

  • @breadpitt7557
    @breadpitt7557 Год назад

    So good! So clear! THANK YOU!!

  • @patrykolszewski788
    @patrykolszewski788 2 года назад

    Subbed for clarity of explanation, awesome content.

  • @39_ganesh_ghodke98
    @39_ganesh_ghodke98 4 месяца назад

    This is THE best props video

  • @anandvittal7558
    @anandvittal7558 2 года назад

    I'm trying to understand props in the internet no where I understood but your the best one to made me understand about props. Thanks 👍

  • @amadousallah8916
    @amadousallah8916 Год назад

    Thank you Sonny. Very well explained.

  • @yogeshyts
    @yogeshyts 2 года назад +1

    Your initial camera quality was op dude🔥🔥🔥

  • @FootballForThePeople
    @FootballForThePeople Год назад

    Brilliant. First coding youtuber I've subscriped to. Absolut class.

  • @riteshraj8348
    @riteshraj8348 2 года назад +1

    Good to have you back Sonny. Love from India ❤️

  • @jessejordan466
    @jessejordan466 2 года назад

    Wow thanks a lot i was struggling with props and you did so well in explaining it thanks a lot

  • @tanakachidemo
    @tanakachidemo Год назад

    Great video. Very clear explanations.

  • @penguinxed
    @penguinxed Год назад

    this is one of the cleanest and easiest props tutorial out there

  • @viniciuscosta6674
    @viniciuscosta6674 2 года назад

    Amazing video!! Papa React is back!!

  • @JohnSnow-gi7iv
    @JohnSnow-gi7iv 2 года назад

    i am able to do my job well because of you Sonny and thank you so much for creating these content.

  • @theodoreivanov6257
    @theodoreivanov6257 2 года назад

    Clearest explanation I have come across.

  • @apatil
    @apatil 2 года назад +1

    Thank you for this 👍🏻

  • @siriraj322
    @siriraj322 Год назад

    THANK YOU MY BROTHER FROM ANOTHER COUNTRY AND ANOTHER FAMILY!!!

  • @charliebanales5287
    @charliebanales5287 2 года назад

    great video! Thank yoU!

  • @matt112fly
    @matt112fly 2 года назад

    best video that explains the concept well.. subscribed and liked thank u

  • @htsn256
    @htsn256 2 года назад

    Youre brilliant mate

  • @ryanwoods3333
    @ryanwoods3333 Год назад

    brilliant explanation. thank you!

  • @dx497
    @dx497 2 года назад +2

    Nice sonny keep it up bro your videos helped me a lot and today i will say for you
    Appreciated dude 👍👍😊

  • @thevisualkidd
    @thevisualkidd Год назад

    Thanks for making awesome videos with great analogies! I won't forget this time

  • @ludwigvillalba1886
    @ludwigvillalba1886 2 года назад

    Thanks for sharing!

  • @codewithsaj9270
    @codewithsaj9270 2 года назад

    such a great tutorial on props.. thanks sonny

  • @HeyNoah
    @HeyNoah 2 года назад

    Awesome! Thank you Sonny!

  • @daromacs
    @daromacs 2 года назад

    Very nice way to explain and full of great hacks too, thank you!

  • @natachijs2566
    @natachijs2566 2 года назад +1

    I just love your content

  • @kelseydavidson1173
    @kelseydavidson1173 Год назад

    This is great! Thank you!!

  • @RahulSharma-ke7wg
    @RahulSharma-ke7wg 2 года назад

    thanks you so much . i am learning so much from this channal..

  • @mritunjay7065
    @mritunjay7065 2 года назад

    Really awesome explanation !

  • @davonnev696
    @davonnev696 Год назад

    Thank you for this video

  • @justttn
    @justttn Год назад

    thanks soooo much for this Sonny 🔥

  • @arturodacorte
    @arturodacorte 2 года назад

    Thanks for doing this man

  • @vedatsozen
    @vedatsozen 2 года назад

    I need to watch this video many times to learn better.
    You are teling so understandable. Thanks.

  • @altravels7426
    @altravels7426 2 года назад

    Good stuff bro you have some of the best vids on react.

  • @sahadpop4135
    @sahadpop4135 Год назад

    Ayeee thanks ♥️

  • @programmingwithnit5308
    @programmingwithnit5308 Год назад

    Thank you so much🙏🙏

  • @FaroukPopoola
    @FaroukPopoola Год назад

    This was useful. 👍🏾

  • @lifeadventure859
    @lifeadventure859 Год назад

    Thank you!

  • @danielsladecek8258
    @danielsladecek8258 4 месяца назад

    thank u so much for these!
    could u please make some introduction for usage functions as a props?

  • @julialee690
    @julialee690 2 года назад

    soooo helpful !

  • @javohirmurodov4670
    @javohirmurodov4670 2 года назад

    It is just awesome!

  • @santoshkharel6373
    @santoshkharel6373 2 года назад

    You are amazing bro ,, made my 🌅 God bless you

  • @rajkr9
    @rajkr9 2 года назад +1

    thankyou sonny bhaiya, this was good!!!🧡🧡🧡

  • @KarakiriCAE
    @KarakiriCAE 2 года назад

    very clear and informative video

  • @ShanakaMadhushan-cw8rh
    @ShanakaMadhushan-cw8rh Год назад

    Nice work bro

  • @obonyoemmy
    @obonyoemmy 2 года назад +1

    Wow, this is a good video. Thanks bro.

  • @riansyahtohamba8215
    @riansyahtohamba8215 2 года назад

    Thanks for videos

  • @baabadampare8714
    @baabadampare8714 Год назад

    thank you!!!

  • @lipiakter590
    @lipiakter590 11 месяцев назад

    Great man

  • @mohamadrezakazemian5220
    @mohamadrezakazemian5220 Год назад

    nice job. keep it up

  • @mitotv6376
    @mitotv6376 10 месяцев назад

    Nice explanation

  • @ryanwoods3333
    @ryanwoods3333 Год назад

    Thanks!

  • @arjunjoshi3481
    @arjunjoshi3481 2 года назад +4

    Sonny, posting 🔥content. Keep it coming, man. Lot's of love

  • @i701Dev
    @i701Dev 2 года назад +1

    Hey sonny, i just wanted to say thank you for your videos. You have helped me understand React and React Native a lot and gave me confidence and motivation to build an app myself which i did today. All thanks to your live streams. So thank you! Keep up the good work. Lets go PAPAFAM! 🔥

  • @taiwoaladesiun2038
    @taiwoaladesiun2038 Год назад

    Hi boss, I'm impressed at people's comment about your content coupled with this props video I just saw on your Channel it gives me the joy of wanting to be a part of your community. 1 Subscriber won👍

  • @moe9647
    @moe9647 2 года назад

    very good teacher.
    You and net ninja are very good... Brits are elite

  • @_____iak_____
    @_____iak_____ 2 года назад +2

    You are amazing 👍👍

  • @mohibkhan2492
    @mohibkhan2492 2 года назад +1

    Welcome back bro 😍😘

  • @itsmydiary1730
    @itsmydiary1730 Год назад

    useful video !

  • @ravindrakumaryadav566
    @ravindrakumaryadav566 2 года назад

    Love you sir

  • @viniciusm.m.7822
    @viniciusm.m.7822 2 года назад

    thanks!!!!

  • @reisezone4574
    @reisezone4574 2 года назад

    very very useful

  • @arpitkolwar5916
    @arpitkolwar5916 Год назад

    thank you

  • @bozainumaanalikhan2496
    @bozainumaanalikhan2496 Месяц назад

    thanks

  • @miashobbies4739
    @miashobbies4739 Год назад

    Thanks

  • @ankittripathi1456
    @ankittripathi1456 2 года назад +2

    Hey Sonny,You are too good man.I have learnt a lot from your channel.I am a big fan of yours.I have a bussiness idea of rental booking application and I will create it in MERN stack.but I don't know how to dockerize it and prepare for production and use tools like nginx and deploy it on hostinger vps hosting.So I want you you make a video on dummy MERN app which is dockerized ,running server on nginx and host it on hostinger vps hosting with SSL certification.Please do it.I really need it and it will be life changing tutorial for me.Please Sonny, Itwill be too useful for everyone who want to make application that can scale.🙂

  • @cameronerasmus633
    @cameronerasmus633 Год назад

    Love your videos, Sonny! ♥ thank you for always being so forthcoming with regards to sharing explanations. I'm curious about what software you use to write on screen (like you do from 3:40 onwards). My main source of income comes from teaching and it seems like a product I could benefit from quite a lot. Stay frosty

    • @SonnySangha
      @SonnySangha  Год назад

      Hey dude thank you so much! - the app is called screenbrush!

  • @akosp-h8057
    @akosp-h8057 2 года назад

    Hi Sonny, what program do you use for drawing to the screen?

  • @shopsrise5137
    @shopsrise5137 2 года назад +1

    Thnku Sonny #PAPAfam ❤

  • @yuukik2381
    @yuukik2381 2 года назад +1

    I would like you to post a video of your application using supabase.

  • @pzer0man
    @pzer0man 2 года назад +1

    wow, Sonny was being looked for we finally have found him :)

  • @quanthaiit5704
    @quanthaiit5704 2 года назад

    thanks you so much. Can you build project with API , thank you

  • @ankitrikame336
    @ankitrikame336 2 года назад +2

    Nice

  • @maazparkar3352
    @maazparkar3352 2 года назад +1

    Can you made class based components and their explanation on react class life cycle pleaseeeeee

  • @lalasmith2137
    @lalasmith2137 2 года назад +2

    Hey Sonny, new subscriber here- been binge watching all the challenges and trying for myself and the clones you built - just incredible and amazing that i found your channel.
    May i ask for some advanced projects as well? maybe with more focus on logic, form validations, server side requests just to learn the best practices from you! much love

    • @SonnySangha
      @SonnySangha  2 года назад +1

      Hey dude! Thanks so much for supporting!
      I go super in depth and technical inside my course, particularly for diamond members!
      Check it out at www.PapaReact.com/course

  • @darshmostafa6044
    @darshmostafa6044 2 года назад +1

    🔥⭐

  • @joshuagalit6936
    @joshuagalit6936 Год назад

    I watched it within 1min and then boom i'm a developer now

  • @md.zakaria226
    @md.zakaria226 2 года назад

    Bro your content is good. you advertise for almost the first 2 minutes, which is the most important time of the entire video. you can delay this section may be to the middle of your video or something. it's extremely bad for new viewer attention.
    just a suggestion

  • @raeesnazeem
    @raeesnazeem 2 года назад

    what vscode theme are you using

  • @simple_islam_
    @simple_islam_ Год назад

    Can you make a video on passing data from child to parent component please......

  • @tapacademy01
    @tapacademy01 2 года назад

    I am here to learn props, I got it and I learnt you are a handsome guy too 😄