All The JavaScript You Need To Know For React

Поделиться
HTML-код
  • Опубликовано: 28 май 2024
  • In this video I will go over all the JavaScript I believe is necessary for someone starting to learn react. Obviously, the more javascript the better!
    Part 2: • All The JavaScript You...
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
    🐙 GraphQL Course: codedamn.com/learn/graphql-fo...
    ► Buy Crypto on Coinbase: coinbase-consumer.sjv.io/PedroTech
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Linkedin: / machadop1407
    Instagram: / _pedro.machado_
    Github: github.com/machadop1407
    Business Email: pedro@pedrotech.co
    🌟 Gear / Hardware I Use and Recommend 🌟
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    💻 amzn.to/42kqFuM 💻 Monitor
    🖱️amzn.to/3C0ZhHb 🖱️ Mouse
    📷 amzn.to/3OHJvbM 📷 My Camera
    🎤 amzn.to/3oxSthj 🎤 My Microphone
    ⌨️ amzn.to/3oFPpj1 ⌨️ My Microphone
    ⚡ amzn.to/3MYMnzM ⚡ LED Lights In the Background
    Tags:
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
    Timestamps
    00:00 | Intro
    01:18 | Arrow Functions
    05:53 | Ternary Operators
    11:23 | Objects
    17:59 | Map, Filter...
    24:29 | Async-Await, Promises, Fetch
    #reactjs #coding
  • НаукаНаука

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

  • @mp6086
    @mp6086 Год назад +130

    5:54 && and || are not ternary operators, these are logical operators. It's a really clever way to use them, but it's important to know why exactly they work that way and that if the condition isn't or is (&& or ||) satisfied the variable will be assigned a boolean value (false / true)

    • @Emblazon
      @Emblazon Год назад +24

      I thought I was missing something lmao. Thanks for this clarification. But yea, ternary operators are in the form of ` let variable = (condition)? value if true : value if false; `.
      ` let name = (age > 10)? "Pedro" : "Jack" `

    • @yani-
      @yani- Год назад +11

      I came here to comment just this. I do not recommend using the logical operators when assigning values, this is just wrong

    • @patelprapti591
      @patelprapti591 8 месяцев назад

      @coddingdunniya might be helpful for you
      ruclips.net/video/4XwcLgTBEiU/видео.html&ab_channel=CodingDunniya
      they have got some really relatable content

    • @user-sk6ge6sh7j
      @user-sk6ge6sh7j 8 месяцев назад +2

      Yep, I get what you are saying. I was also a bit confused about that explanation, but we are all continuously learning in the journey to become the best software engineers that we can be! 💯

    • @dlouhavideacz
      @dlouhavideacz 5 месяцев назад +3

      It's called "short circuit evaluation" and it's handy when u want something to pop up if soem rule is fulfilled

  • @Thithi_Dev
    @Thithi_Dev 2 года назад +36

    Fantastic job, Pedro. I'm fairly new to React and started running into a few problems when experimenting some hooks and contextAPI. I noticed I had a lack in some JS concepts your video was just what I was looking for.
    Congrants! And Keep the amazing job you're doing.

  • @melissabee12
    @melissabee12 9 месяцев назад +41

    It's almost like getting that 'classmate explaining the lesson better than the teacher' kind of vibe 😊. Seriously though, I've only just discovered your videos, and I'm already loving them. I can't help but wish I had found them sooner. Keep up the fantastic work!

  • @jedreqq
    @jedreqq 2 года назад +270

    Hey, I do not comment programming yt videos at all but really, You have the best tutorials on the platform, really easy to understand and enjoyable to watch, You are doing a great job man

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

      Thank you! This makes me happy :) I am glad to see my videos are helping!

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

      I agree

    • @isaacjon
      @isaacjon Год назад +1

      @@PedroTechnologies i think the same thing . You explain really well

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

      I agree. He explains it very well. Pedro is El Especialista.

    • @ameywani8
      @ameywani8 3 месяца назад

      you got me in the first half

  • @retrosynthguy
    @retrosynthguy Год назад +5

    You are insane! I found your channel yesterday and I just woke up and came here as fast as I could because I just want to see all your videos, thanks Pedro!

  • @linktoankur
    @linktoankur 2 года назад +9

    Thank you @PedroTech for putting all the essentials in such a concise video.
    I would really appreciate if you can come up with an increasing level series for this content.
    All the beginners would love it i'm sure.

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

    just started with react and this has been one of the most useful tuts investors found so far lol. Concisely explained with situational examples for why the techniques are useful. Thanks a bunch.

  • @sachinmore8938
    @sachinmore8938 Год назад +1

    This was an awesome idea to collate the basics in a small video. A lot of my other learning makes more sense now after understanding the significance as I directly started with React. Thank You!

  • @rolandsilvajr1
    @rolandsilvajr1 3 месяца назад

    really well done. I have finished a three month boot camp and this is great refresher as I start React, will definbitely follow I subscribed

  • @boitumelomashego2386
    @boitumelomashego2386 6 месяцев назад +1

    Thank you so much it has been overwhelming trying to learn react but now I see the light, thanks for this video, this is amazing.

  • @BrunoAlexandreCartaxeiro-BRN
    @BrunoAlexandreCartaxeiro-BRN Год назад +4

    I only saw this video from you so far, but I think you have serious teaching skills. Very well structured, simple and accessible information. Congrats & thanks. 👍

  • @VictorOliveira
    @VictorOliveira 10 месяцев назад +1

    Man, this is a great video. It's difficult to find such good videos around here about the subject. Thanks!

  • @automateddude
    @automateddude Год назад +1

    Really thanks Pedro, you are a lifesaver! I actually learnt react with basic js and knowledge of python, even didnt understand the new if else and spread operator, now I understood, Thanks a lot!

  • @smnomad9276
    @smnomad9276 2 года назад +21

    I don't think you realize how good of a teacher you are. No one on youtube explains things as clear and as simple as you do 💯 One thing however i wish you would start doing is go deep into the small details more of why something is the way it is and how it works on the background without using technical words and don't assume that we already know some simple details. This would really be great for beginners!
    Great job man and thanks for what you're doing ❤️🙏🏻

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

    Hi, Pedro! Thank you for your vídeos. I've found you few days ago and have been watching your content. Keep going!

  • @kenkioqqo
    @kenkioqqo 2 месяца назад

    You're the man, Pedro. This is exactly where I'm at in my React journey. Coming from a Python (Django) background with a little bit of JS basics, I've been feeling overwhelmed by the thought of (re)learning the entire JavaScript language just to prepare for React. I needed to know what parts of JS I should brush up on and this video has demystified my path. So thanks man.

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

    Thanks for the explanation I'm currently learning react but I've realized that some things need to be understood. and this is clear enough.

  • @oliverqweenuj
    @oliverqweenuj 8 месяцев назад

    Excellent teaching method, by comparing both Javascript and its equivalent Reactjs and writing the code for both, side by side. Increased my understanding a lot.

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

    Thank you sir, It is really helpful to have an idea of what concepts a newb needs to know and which ones you can put off for later.

  • @rax7147
    @rax7147 Год назад +104

    Same experience, diving in react with just the basics of js is really a tough road. Hoping to see more videos like this that summarizes things. ❤

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

    Really enjoyed this video, I was really scared to put my hands on React, now I want to check your React tutorials out. Thank you!!😊

  • @user-sk6ge6sh7j
    @user-sk6ge6sh7j 8 месяцев назад +13

    This is the first and only of your videos that I have seen (so far) and it has cleared up so much confusion and frustration that I have been having in my journey in learning how to use JavaScript AND React and how to best use them together. I became very excited watching this video as ideas and concepts started to "click" in my head. Thank you, Pedro for this awesome video! 🥰

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

    You are so good at explaining. This really helps me. Thank you for sharing your talent 🙌😄

  • @user-gl5wl7rw3f
    @user-gl5wl7rw3f Год назад

    Great video Pedro! It really helped to renew the topcis necessary to look at while learning React! Thank you very much! All the best 💪💪

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

    This is so helpful! Thank you for sharing the contents and experience! I was struggling with a React proj and this helps!!!

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

    Hey sir pedro, thank you for this video. This is what I looking for, its been a month for looking on how and where do I start learning REACT. Kudos bro.

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

    I really appreciate your way of explaining. I was very scared of what to learn first. But you cleared my doubts :) Thanks man

  • @zakibgmi
    @zakibgmi 9 месяцев назад +77

    🎯 Key Takeaways for quick navigation:
    00:00 🎥 JavaScript essentials for learning React.
    01:25 📚 Focus on intermediate JavaScript concepts for React.
    03:05 🎯 Use arrow functions for cleaner code and better callback handling.
    05:09 🔀 Utilize ternary operators for concise conditionals in React's JSX.
    08:48 🧱 Understand object destructuring and copying with spread operator.
    18:26 🔄 Employ the `.map()` function for rendering dynamic lists in React.
    22:08 🕵️‍♀️ Use `.filter()` function to manipulate and filter arrays in React.
    23:59 🧭 Understanding searching and filtering through lists using `.filter()` function.
    24:43 📚 Key concepts: Promises, async/await, and data fetching with Fetch API are crucial for web development and communication with APIs.
    26:04 🛠️ The listed concepts are important before diving into React, especially if you have a basic grasp of JavaScript.
    26:47 🌟 Learning React is achievable even without prior expertise, and struggling initially is normal.
    27:29 👍 Like, comment, and offer feedback to support the channel's diverse content.
    Made with HARPA AI

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

    Thank you Pedro! Your videos are being a great help! I'm doing a React course and when I don't understand my teacher I know that I'll come here and understand with your videos

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

      so why not just watch pedros videos instead of wasting time with a tutor you don’t understand ? 😂😂

  • @_Sanja_
    @_Sanja_ 9 месяцев назад

    Thank you for making this video! I have just started learning React as part of my bootcamp. It has been confusing so far :)

  • @luisaborba4829
    @luisaborba4829 24 дня назад

    Great video Pedro, you explain really well, thanks a lot :)

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

    Great video bro. Thank you so much. Actually you have covered all the topics that I was looking for.

  • @jnaras
    @jnaras 8 месяцев назад +1

    Great job Pedro. Nice fundamental stuff.

  • @charitysimon-peraboh5555
    @charitysimon-peraboh5555 3 месяца назад

    Pedro it's been awhile and thanks so much always do a lot for the upcoming

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

    This is the first video I have watched so far and I already Love you Dude 😀 Thank you for Sharing

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

    Great video as always Pedro! Thank you!

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

    THANK THANK THANK YOU
    you provided somthing that i was looking for a while

  • @romulodsr
    @romulodsr 15 дней назад +1

    Awesome stuff! Thanks 😊

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

    this is the type of video i wanted to watch for long time , i don't want to say that i completed js from a to z but i think i have completed more than 15 projects on js and now i want to learn react but i was not confident enough so i searched on youtube if i have to know anything else before jumpting to react. thanks pedro for this amazing video ... TotalSubscribers++

  • @derickmoncado
    @derickmoncado 9 месяцев назад

    Stellar overview man, great work!

  • @eraoul
    @eraoul Год назад +9

    Feedback: there is just one “ternary” operator described here, not 3. And and Or are just binary logical operators, since they have two arguments. The ? operator is the ternary operator since it takes three args: condition, if clause, and else clause.
    Also: functions are usually declared const to specify the variable referring to them shouldn’t change, it’s not just a “convention”.

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

    Thank you Pedro, it's now so much clear !!

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

    Amazing video, I highly recommend this to anyone looking to bridge the gap between a JS course and React course!

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

    just what I needed! thank you and keep growing ☺

  • @thescribblersdiary
    @thescribblersdiary 5 месяцев назад

    Learned a lot brother! Thanks for the effort and tutorials

  • @ramizch1739
    @ramizch1739 3 месяца назад

    superb man you are a life savor, that's what exactly i was looking for, and your explanation and examples are beginner friendly, Thanks man and please keep posting nice stuff about react

  • @pauljustineposas6791
    @pauljustineposas6791 Год назад +1

    I've have been doing a lot of JavaScript studying these past few months but I soon as I watched this video, I can advance a little in Udemy Course. Thank you I've reached out to this, I can definitely get to know more on React. 😍🙌👌

  • @user-hf8iy8xp9y
    @user-hf8iy8xp9y 2 месяца назад

    These are important concepts for react. Thank you!

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

    Great video. you are really good explaining stuff, making it very easy to understand and follow..

  • @lvekua
    @lvekua Год назад +1

    Very useful. Thank you mate!

  • @Psychopatz
    @Psychopatz 5 месяцев назад

    Thank you sir, I dont even know that those arrow functions are from javascript itself and not from react by default, you explained it from the fundamental standpoint. Super thanks sir!

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

    Loved the way you teach buddy, you kinda motivated me to do 😇

  • @roving-camera_72
    @roving-camera_72 9 месяцев назад

    This is a great summation of the JS principles one should know before moving on to ReactJS.

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

    thank you so much for making this video. it is very useful !!

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

    Great overview on these JavaScript concepts Pedro! I've done a few React projects but it's always good to refresh the basics once in a while.

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

    Great value Pedro, thank you!

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

    Thanks man! As a feedback, I was struggling to find motivation of why to learn react, and I didn't need more statistics of why is it good compared to other tech, not more technical details of what React is.
    What I needed for my motivation was exactly something that you integrated lightly (but enough), and that was the practical use into react and what can react do for me (and the thing with the arrays and how it can add the was enough to put my brain to work. It game me a small light to hang on it, enough to buy me some time to learn more thing ( until either I deplete my motivation again or I learn new things to motivate me again).
    Shortly, the practical use (and in what scenario) was the thing that help me. I hope it makes sense. Thanks 👍

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

    you such a gift from heaven bro, just wanna say thank you over and over again ♥

  • @devjoaommr
    @devjoaommr 6 месяцев назад +2

    caralho o maluco é brasileiro e ta dando aula, que coisa dahora de se ver! parabens mano, me ajudou muito com o video

  • @kaus0463
    @kaus0463 4 месяца назад +1

    This is very helpful! thanks a lot

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

    I was taking the full stack developer course in code academy and hit a wall with building programs, but I now realize that they were preparing me to learn react because they really emphasize the importance of using arrow functions and tenary operators. This video was eye opening. Thanks for the content.

  • @SolarDevJs
    @SolarDevJs 2 месяца назад

    Hi Pedro! , Thank you for your videos

  • @yashiel
    @yashiel Год назад +1

    Wow, this is really helpful, I wonder why nobody thinks this way. Thank you very much.

  • @JustPerfectDesigns
    @JustPerfectDesigns 2 года назад +8

    This right here is a really great value that most beginners overlook.
    I'm glad I could finally see this. I searched for content like this too when I started my react journey and I found none.
    I'm going to link this on almost all my react tutorials/projects on my small RUclips channel.
    I hope its Ok to do so?

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

    Thanks for this tutorial. Cheers from Brazil 🎉🎉🎉

  • @VELS436
    @VELS436 Год назад +1

    Thank you buddy ❤🎉...*its really helped me

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

    Nicely explained, thanks for the video

  • @sagarpurohit1454
    @sagarpurohit1454 5 месяцев назад

    i think i learned lot in this video even came to know how some new things work with very simple example that can be helpful understanding new advance topic in js and React.

  • @relaxingmusicmusicandvideo2422
    @relaxingmusicmusicandvideo2422 Год назад +1

    Awesome marvalous fabulous hillarious mind blowing superb fantabulous ....i just came here while still learning react from you

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

    i like so much about your way when you give us to lesson, your way in this video learned me a lot , and i understood your explanation , i am not good with english but really i understood every single word you said , you are a very good teacher .
    thanks so much for this video and keep going to do many stuff videos like this

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

    Thank you Paidro! This is so useful

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

    Thanks for the video. Just what I needed to know. But I was interrupted by a 50 minutes interesting ad which was longer than your video. I watched the entire ad, wow. When your video resumed, I became interested in react. Thanks.

  • @bilalsaleem100
    @bilalsaleem100 6 месяцев назад

    thank you for making this video. appreciate it :)

  • @funkerosupremo
    @funkerosupremo 8 месяцев назад

    Thanks for the video, Pedro. Really useful. I finally got the arrow functions now thanks to you.
    Also, you sound brazillian for some reason

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

    I am among those programmers who has too much stress but this video is so satisfying bcz now i know i have the abilty to learn react

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

    Awesome man ! Keeping putting such videos ;)

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

    Good Video man! This helped me a lot

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

    btw, for Ternary Operators, you could easily think about EN/FR translation stuff.
    make it easy to understand. ( that's what I did for an app )

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

    This video is super helpful. Thank you so much!

  • @danray472
    @danray472 19 дней назад +1

    you are my best teacher so far

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

    Thank you so much Pedro !!

  • @_jackie.zz_2884
    @_jackie.zz_2884 Год назад

    Thanks your video helps me a lot🤙

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

    very useful video i was trying to find something like this

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

    Hey Pedro thank you for all the wonderful videos. Not sure if you put any content out on Blockchain, Solidity, or creating Dapps. Would love to hear what you have to say on that.. keep up the great work.

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

    Oh man beautiful video ... Exactly what I needed man .. thanks bro!!

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

    Thanks pedro! great video!!

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

    Very good video. Keep up with the good work!

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

    Fantastic work!

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

    It really helps me to learn both as a beginner

  • @ashishshetty4363
    @ashishshetty4363 3 месяца назад

    great video ; you earned a subscriber ❤

  • @seekingtruth9417
    @seekingtruth9417 Год назад +7

    This is so awesome. You are a hidden gem. Not sure why RUclips didn't recommend you earlier, it would have saved me so much time. I had some basic knowledge of javascript but was not confident with objects, map and async. The way you explained with examples is really great. Not many online tutors can do that. Thanks for making this great video. Please make more videos like this on JS and React so that we can clear our concepts and start building a real world project. Once again thanks a ton!

  • @TheMERABANABER
    @TheMERABANABER 8 месяцев назад

    this is great! thank you so much

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

    Thanks a lot for this amazing video 👍👍

  • @tomasburian6550
    @tomasburian6550 2 года назад +58

    I also started learning React without knowing JS so I took it side by side. It was tough.
    Not as tough as learning how to use React + TypeScript, tho :)

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

      Can you help me

    • @eggxecution
      @eggxecution Год назад +1

      @@rajvipatwa7438 how was it? I learned react too without javascript lol Chat GPT helped me a ton lol

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

    Heartfelt thanks Pedro!

  • @AhmedSiddiqui-dz3up
    @AhmedSiddiqui-dz3up 10 месяцев назад

    Commenting just for you because you are a really good teacher :)

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

    Awesome video Pedro!

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

    Very helpful video ! thanks a lot

  • @rouilliew
    @rouilliew 5 месяцев назад

    I'm learning JS, so this was very useful.

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

    Great summary video!