React JS Crash Course

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

КОМЕНТАРІ • 2,9 тис.

  • @TraversyMedia
    @TraversyMedia  3 роки тому +220

    React Router has been updated to v6. Check out this video to see the changes for this project - ua-cam.com/video/k2Zk5cbiZhg/v-deo.html

    • @folashademustapha2474
      @folashademustapha2474 2 роки тому +4

      Hi Travesery media,
      Thanks a whole lot for the tutorial. It helped a whole lot.
      One request I will really appreciate is if you can do a very short video on how to edit a task that was already submitted just like you did the toggle reminder aspect of the app.
      Thank you.

    • @EmanSh7894
      @EmanSh7894 2 роки тому

      ٨حك نمحح٩جمحممحجك

    • @williamssynergyinc.1381
      @williamssynergyinc.1381 2 роки тому +2

      I have been trying to get your courses on Udemy which come with a 77% discount severals of time, but due to restrict of international payment via Debit Card in my country Nigeria, am not able to. Is there a mean you can grant me access to your React Front To Back 2022 and pay with a Fiat or Crypto currency

    • @blvcknoone
      @blvcknoone 2 роки тому

      @@williamssynergyinc.1381 Bruh, you can buy any course on Udemy once you have a Mastercard of any Nigeria bank 🏧. Ask people to help you, transfer to them then use their card to buy.

    • @williamssynergyinc.1381
      @williamssynergyinc.1381 2 роки тому

      @@blvcknoone do you live in Nigeria, and if yes, when last were you able to make payment with Naira Debit card

  • @mvgiacomello
    @mvgiacomello 3 роки тому +1888

    Story-time: I've been a QA engineer with comp.sci background working in many places building quality tools for over 11 years. Last year during the pandemic most of my company was fired, including myself. So, I decided to apply for a web developer role at Napster. This video was literally all I used to do the technical exam. I am now finishing my probation period! Thanks, mate!

    • @Mischu708
      @Mischu708 3 роки тому +16

      How is webdev compared to your previous work?

    • @aga080
      @aga080 3 роки тому +69

      Napster!?!? THE napster??

    • @ThunderstruckElectronix
      @ThunderstruckElectronix 3 роки тому +2

      Good job

    • @PB72UK
      @PB72UK 3 роки тому +78

      I'm the CEO at Napster, your fired! 🤣🤣🙄

    • @rajasanchit
      @rajasanchit 3 роки тому +3

      I am a STE and even I am learning react from past 1 year

  • @TrevorRobertsJr
    @TrevorRobertsJr 2 роки тому +99

    1:43:40 Two more items for recent versions of React as of October 2022:
    1. You must also import Routes from react-router-dom and wrap your tag in a tag
    2. Instead of component={About} use element={}

    • @boomshakalaka656
      @boomshakalaka656 2 роки тому +4

      Thanks bud l was really struggling to find what was wrong with the code

    • @MangoMang
      @MangoMang 2 роки тому +14

      Thanks so much! The root route is still broken for me (not showing any of the rendered internals) but I'll keep following the video and see if I can fix it.
      EDIT: Found another comment with a fix for this if anyone else encounters it:
      On the first Route (to '/') change "render={props => (" to "element={"

    • @curtisbellamy3728
      @curtisbellamy3728 2 роки тому

      @@MangoMang appreciate u!!

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

      gg

    • @0100-w1s
      @0100-w1s Рік тому

      @@MangoMang you're a life saver!!! thankssss for this!!!

  • @JustRDanni
    @JustRDanni 3 роки тому +171

    I'm a new dev on my first gig and my new boss just told me that he wants our team to convert their entire website to react - bad news? never done it before, good news, they paying me to learn how, Great news? You have a crash course for me and the team to watch and use to supplement out learning! Excellent work! and thank you!

    • @ahmd09
      @ahmd09 3 роки тому +3

      Best Of Luck!

    • @abgar3589
      @abgar3589 3 роки тому +3

      yikes, up here i would never have a chance to become a dev without knowing react.. somewhere on the world life is just easier

    • @IChowdhury01
      @IChowdhury01 3 роки тому +15

      I wish I could get my first gig AND THEN worry about learning the tech... I already put the tech on my resume, trying to self-learn it and still can't get a job.

    • @siddhartharoy5263
      @siddhartharoy5263 3 роки тому

      @@IChowdhury01 How long have you been self-studying ?

    • @siddhartharoy5263
      @siddhartharoy5263 3 роки тому

      @@IChowdhury01 Best of luck :)

  • @SprinkledLandSharks
    @SprinkledLandSharks 3 роки тому +32

    This is meticulously clear. I've watched 15 or more videos that took me through creating a ToDoList with React. You have explained things in a way that's easy to understand. Your explanations are thorough and I feel that I'm finally understanding what you are teaching instead of just following along in VScode. Thank you.

  • @TraversyMedia
    @TraversyMedia  3 роки тому +1011

    Hope you enjoy! This is obviously geared toward people learning React. I have a React project playlist for more project based videos as well as a few Udemy courses. I will also be updating my Vue, Angular crash courses and many others

    • @auawgamer3470
      @auawgamer3470 3 роки тому +11

      Love your tutorials! Can't wait for updated one for vue

    • @sunilchaudhary1206
      @sunilchaudhary1206 3 роки тому +4

      Waiting for angular crash course to start learning it👍🏻

    • @Chiny_w_Pigulce
      @Chiny_w_Pigulce 3 роки тому +5

      You got an error because you deleted an "i" in "id"

    • @kk2070464
      @kk2070464 3 роки тому

      waiting for your Udemy courses

    • @ado4969
      @ado4969 3 роки тому

      Thanks

  • @K13ran1984
    @K13ran1984 3 роки тому +271

    I love the guest hosts, but I was surprised and delighted to hear brad himself!!!!

    • @TraversyMedia
      @TraversyMedia  3 роки тому +57

      Yeah, we're gonna try and go old school for a while. There is a lot I want to do such as creating my platform, but I will also be dedicating quite a bit of time to UA-cam :)

    • @abdullahalakus9700
      @abdullahalakus9700 3 роки тому +2

      @@TraversyMedia you are very clever

    • @beefpapa7616
      @beefpapa7616 3 роки тому +4

      @@K13ran1984 Hey just checked out your site. Some cool stuff. Wanted to let you know that your resume section still has lorem ipsum placeholder text

    • @yt-sh
      @yt-sh 3 роки тому

      @@TraversyMedia Thanks for all the crash courses

  • @44203215
    @44203215 3 роки тому +176

    Thank you Brad! Best tutorials!
    1:29:30 => each child in a list must have a unique key => in your sample data the second entry has a "d" instead of "id" => Thats why suddenly the unique key warning is thrown :)

    • @tabhorian
      @tabhorian 3 роки тому +11

      That's what I came here to say. I knew someone must have seen that. Good catch.

    • @tabhorian
      @tabhorian 3 роки тому +12

      And then Brad caught it at 1:35:22, so all's well

    • @LUKFUNTV
      @LUKFUNTV 3 роки тому +3

      I am having problem at 1:09:24
      That add task function is causing problems
      [
      Error: AddTask(...) : nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null
      ]
      Is displayed on the browser

    • @harisshahcs
      @harisshahcs 2 роки тому +5

      @@LUKFUNTV I ran into the same error, it was because of the addTask function and AddTask component, make sure your function addTask has a small "a" instead of capital A in the App.js Component.

    • @justin-rr2sw
      @justin-rr2sw 2 роки тому +2

      I was dying when he didn’t see it multiple times

  • @acatch22
    @acatch22 3 роки тому +332

    For those getting the error "A Route is only ever to be used as the child of element, never rendered directly. Please wrap your in a " @ 1:43:00. react-router-dom v6 has some changes from v5.
    you need to import Routes aswell on line 2 with the Router, Route
    Then you need to wrap both of the 2 tags together with
    Then in the first change "render={(props) => ( to "element={"
    Then the second change "component={About}" to "element={}"

    • @osamah4532
      @osamah4532 3 роки тому +11

      Man you are a life-saver , I was about to give up

    • @xxLadyPanther30xx
      @xxLadyPanther30xx 3 роки тому +1

      Appreciate you!

    • @nguyenvinhquang6872
      @nguyenvinhquang6872 3 роки тому +1

      love you my man

    • @EugeL0
      @EugeL0 3 роки тому +2

      I'm getting "Warning: Functions are not valid as a React child. This may happen if you return a Component instead of from render. Or maybe you meant to call this function rather than return it." on the index page, any ideas? Tasks also not displaying.

    • @bibeduck6001
      @bibeduck6001 3 роки тому +6

      why I didnt read the comment first 😭, I install my Router to v5. Thanks man!

  • @yellowsaxguy7055
    @yellowsaxguy7055 2 роки тому +32

    Just finished the crash course and are very pleased with the results! NOTE! react-router has since been updated this video, and uses a different syntax to route components!
    Firstly: you have to import a new component called Routes
    Secondly: wrap a Routes tag around your Route tags
    Thirdly: instead of using exact render arrow function, use element={} and change the empty tag to a div tag. you wrap the curly braces around that whole thing.
    Forthly: change component in your Route tag to element.
    Hope this helps that it took some time for myself to make it work.

  • @ozzyfromspace
    @ozzyfromspace 3 роки тому +197

    To all the beginners like me, at some point WE just have to accept that we'll probably write a shitty first react app. Lets get started anyway 🙏🏽 and just keep this video in a separate tab somewhere until it starts to feel natural. Best wishes fam. Oh, and Brad.... You're amazing! Thank you, deeply, for everything that you do! Your "learn by doing" approach in this video is probably the best way to learn React that I've come across. This is my third tutorial and you make me feel confident enough to write my first shitty web app. Kudos, mate! 🏆🙌🏽🎊☮️

    • @joycejeyaratnam433
      @joycejeyaratnam433 2 роки тому +3

      I will never accept that my first react app will be shitty! NEVER!

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

      @@joycejeyaratnam433 unless you're Uncle Bob, good luck lol

    • @rusurveillancetaskforce
      @rusurveillancetaskforce Рік тому +8

      Best way to learn anything is to get an overview and then escape the tutorial trap as soon as possible.

    • @kademmohammed6836
      @kademmohammed6836 Рік тому +4

      Brad, thanks to you I'm feeding my family man, can't thank you enough, much love from ALGERIA

  • @romulororizz
    @romulororizz 3 роки тому +1278

    Man you’re just a blessing to this world

    • @TraversyMedia
      @TraversyMedia  3 роки тому +429

      Ha! I'll have to show my wife this one :) Thanks man

    • @tahmidlabib2919
      @tahmidlabib2919 3 роки тому +11

      @@TraversyMedia You truly are.

    • @romulororizz
      @romulororizz 3 роки тому +44

      @@TraversyMedia My goodness you replied me! 😱 Really big fan of you man! Keep up with the amazing work!! Much love from Switzerland 🇨🇭

    • @gambomaster
      @gambomaster 3 роки тому +24

      @@TraversyMedia Well I doubt she will understand it. You are a blessing to a world which is different than theirs. 😉

    • @EvaLasta
      @EvaLasta 3 роки тому +1

      @@romulororizz vc é Português cara da suiça?

  • @Lucifer-wd7gh
    @Lucifer-wd7gh 3 роки тому +133

    Brad I was missing you badly . Your voice motivates me to code more . Please comeback as soon as possible. Get well soon Other devs are good but traversy media is incomplete without Brad . 👍👍

  • @Artix9
    @Artix9 3 роки тому +43

    I can say this without an ounce of doubt in my mind: You are the most loved coding content creator on youtube!

  • @DocMaggie
    @DocMaggie 2 роки тому +4

    I have a single piece of advice, because it can confuse a lot of people new to a particular framework or workcycle: don't use same parameter and value names. For instance, you use onClick={onClick}. Use something like onClick={clickHandler} or anything else, just not the exact same keyword. People will confuse as to what's an event handler name and what's the "random function" name. Not just you, basically any tutorial creator does this for some reason. It might be intuitive to you or any experienced developer just trying out React, but not to people relatively new to programming in general.

  • @clemguitarechal
    @clemguitarechal 3 роки тому +15

    Thank you so much for this introduction to React !
    I'm an old fashioned programmer, and struggle a bit getting my head around new technologies such as React, and your crash course is such an invaluable tool for me to get into it ; and actually get prepared for a job , for which I'll have to pass a test, next week (dec. 2021).
    This won't make me an expert at a glance, but for sure i'll give me some confidence in, at the very least, being able to translate/transliterate my ideas into react-ready code.
    Thanks a million !

  • @josephwong2832
    @josephwong2832 3 роки тому +100

    TRAVERSY is a LEGEND!! There are going to be books written about this guy when he's done!

    • @aimanshakeel5402
      @aimanshakeel5402 3 роки тому +10

      Why you want him to be done? Let him continue forever. 😃

    • @arrevoir2590
      @arrevoir2590 3 роки тому +2

      hope he's not going to be gone soon. I won't last long as a programmer without this guy

    • @pratikthorat3480
      @pratikthorat3480 3 роки тому +2

      He wont be done mate because he is a LEGEND

    • @AnujKumar-ik5hm
      @AnujKumar-ik5hm 3 роки тому

      legends never die.

  • @animeshsingh4290
    @animeshsingh4290 3 роки тому +24

    54:23 - If anyone is confused why he didn't just use 'onDelete()' and instead used () => onDelete(). It is because an event handler is supposed to be either a function or a function reference and a onDelete() is calling the function.

    • @Ahmad_code
      @Ahmad_code 3 роки тому

      I still don't get it man

    • @jakeb1381
      @jakeb1381 3 роки тому +4

      @@Ahmad_code if you put onDelete(), the function onDelete will be triggered even tho the user did not click it.

    • @bzmind_
      @bzmind_ 3 роки тому +1

      ​@@jakeb1381 How does it get triggered when the user hasn't clicked it yet? I can't understand why he didn't call onDelete(task.id) directly :(((
      is that even possible? (syntactically) because he didn't pass the task.id in the parameter, he just wrote
      { onDelete }
      and then he said: now if we want to give it the id, we should write it like this:
      { () => onDelete(task.id) }
      so he wrote it this way just to pass the id? because it wasn't possible to pass parameters if he called it directly?
      I'm new in JavaScript, I haven't even written code with it yet, I was just checking out what is React ... but I have a little bit of experience in c#, not much

    • @jakeb1381
      @jakeb1381 3 роки тому

      ​@@bzmind_ If you call functionA(param) directly, functionA(param) will be triggered even tho user does not click the delete button. The reason is that when the browser read your code and see "functionA()" shape it calls the "functionA" right away because of "()" [bracket means "call this function"]
      . so you have to put "functionA" in onClick event. but we have to pass parameters, so you need a bracket so you have to put "() => functionA()" instead of "functionA()" so that it won't be triggered until the user click the delete button.

    • @bzmind_
      @bzmind_ 3 роки тому

      @@jakeb1381 Oh, I get it now, thank you so much for your reply, I didn't know that the browser would call the function() right away, that's new for me, I've just started to learn web development, so where should I learn these points about how the browser and web stuff works and how it reads the codes? what topic are these related to?

  • @TraversyMedia
    @TraversyMedia  3 роки тому +378

    Just a heads up. If you use the React snippet extension, you can prefix rafce or whatever you use with an underscore to not generate the un-needed react import

    • @ronyahmed320
      @ronyahmed320 3 роки тому

      @@gman8361 how did you get a job? plz share your experience. Do you know react, node.js yet?

    • @TraversyMedia
      @TraversyMedia  3 роки тому +41

      @@ronyahmed320 after many failures I landed a dev job but we used PHP and Angular. This was quite a while ago. Most of my career has been freelance, consulting and of course content creation

    • @RacoonCH
      @RacoonCH 3 роки тому

      @@TraversyMedia Was it pure PHP or a framework like Laravel?

    • @codertoon
      @codertoon 3 роки тому

      thank you so much for this video and for the trick to get class arr func, it wasn’t mentioned in es7 vscode extension’s documentations too.

    • @shikhaverma0007
      @shikhaverma0007 3 роки тому

      @@TraversyMedia hi I m also a web developer (PHP) learning react if any job or project in which I can work do let me know.

  • @JN-cy9qt
    @JN-cy9qt 2 роки тому +3

    Working on my first React project with The Odin Project and felt completely lost midway through. Watching this video cleared everything up thanks so much for taking the time to make this - the way you organized it into segments made it so easy to reference material later too.

  • @tochi8061
    @tochi8061 3 роки тому +14

    Honestly. i think you're hands down the best coding teacher that ever lived. i dont know a modicum of react and this one video got me creating things first time try.and actually understanding. i started coding about 4 years ago. i watched ur html crash course. that was the first "coding" id ever done. you are a legend sir. thanks for all you do

  • @damaroro
    @damaroro 3 роки тому +57

    1 hour video from Brad is like 3++ hours practice in my computer .

    • @rodolfoandino2156
      @rodolfoandino2156 3 роки тому +8

      3 days took me lol

    • @dailymeow3283
      @dailymeow3283 3 роки тому

      Because it's very messy to be honest, adding the props and the codes and if statements right after the component is very messy, they should be organized all together in component.defaultProps
      You can do this project without react, in node js way more easy and organized better js and styling in just 10 minutes

    • @tofuyam7361
      @tofuyam7361 3 роки тому

      show us the cat food

  • @robsonsilv4.
    @robsonsilv4. 3 роки тому +155

    Wow! Every year I wait for crash course updates, more than movies hahah.

    • @TraversyMedia
      @TraversyMedia  3 роки тому +67

      That's awesome. Especially this year. Movies have been shit because of Covid

    • @bhatnagarcapital
      @bhatnagarcapital 3 роки тому

      @@TraversyMedia Love you Brad from India .

  • @hemanthkotagiri8865
    @hemanthkotagiri8865 3 роки тому +41

    I have tears looking at the hard work and dedication you put forth to teach all of us for free. You absolutely are a blessing to this world, Brad. Thank you so much. ❤️

    • @shivanigaddagimath6105
      @shivanigaddagimath6105 3 роки тому

      Hey Hemanth! Are you a student or working currently? Would you be interested in exploring opportunities in job web development?

  • @captainnemonic
    @captainnemonic 2 роки тому +4

    Great course. Went from doing Python/NodeJS to React overnight. This is my first foray into that realm. Thanks for the no-nonsense tutorial!

  • @robertn4996
    @robertn4996 Рік тому +71

    I did struggle a lot to learn React. A lot of wasted time.
    The problem? I did not know the basics of Javascript in first place. You need to walk before you can run.
    So I took a few very basic books (books, not complex tutorials!) and learned the fundamentals.
    After I learned the basics of Javascript, learning React became much easier.
    Edit: For those asking about the books, for the very basics I learned with Javascript In Less than 50 Pages.
    And to develop my knowledge I learned with Head First Javacript Programming.

    • @Maha-yg7pv
      @Maha-yg7pv 9 місяців тому

      Whats the title of the book?

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

      what is the book

    • @ven7782
      @ven7782 2 місяці тому

      The best Javascript book: Eloquent javascript by Marijn Haverbeke
      The best React book: The road to learn React by Robin Wieruch

  • @roshanshetty5661
    @roshanshetty5661 3 роки тому +21

    Quick note: Don't register click and doubleclick events on the same element: it's impossible to distinguish single-click events from click events that lead to a dblclick event.

    • @eyesofdaveed
      @eyesofdaveed 3 роки тому +3

      How can you solve it without binding two events to the same element?

  • @AdityaKumar1
    @AdityaKumar1 3 роки тому +21

    Best React Beginner Guide for everyone who is learning in 2021. Good pace, good examples, easier to grasp, and not too complicated stuff thrown at once.

    • @shivanigaddagimath6105
      @shivanigaddagimath6105 3 роки тому

      Hey Aditya! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?

  • @robertwerner6208
    @robertwerner6208 3 роки тому +6

    Thank you so much for this! I'm an accomplished React developer [now] but my employer, a major U.S. corporation, will be getting a series of interns this year and I'm going to direct the React newbies to this video of yours.

  • @lrajoo11
    @lrajoo11 3 роки тому +10

    amazing stuff. I came from no coding background and watched your html, css, js videos - and now this - you've made this so much easier than I thought it would be. Thank you!

  • @yashgupta8336
    @yashgupta8336 3 роки тому +1

    I am a total beginner with the React , but after watching and coding this tutorial , I feel pretty much comfortable!!

    • @shivanigaddagimath5994
      @shivanigaddagimath5994 3 роки тому +1

      Hey Yash, are you a fresher in web development and open to full-time positions in the same?

    • @yashgupta8336
      @yashgupta8336 3 роки тому +1

      Hey Shivani , yes I am a fresher but currently I am working in a start-up from past 5 months

    • @shivanigaddagimath5994
      @shivanigaddagimath5994 3 роки тому +1

      @@yashgupta8336 I see, thank you for letting me know. We are currently looking for freshers to join us. Feel free to explore the opportunity if interested and refer your friends if they are looking for opportunities. You can connect with me using the contact information on my channel.

    • @yashgupta8336
      @yashgupta8336 3 роки тому +1

      @@shivanigaddagimath5994 yeah sure can U tell me your LinkedIn profile so that we can connect?

    • @shivanigaddagimath5994
      @shivanigaddagimath5994 3 роки тому +1

      @@yashgupta8336 Please visit the "About" section of my channel and you will be able to find the link. Thank you, looking forward to hearing from you.

  • @miles611
    @miles611 3 роки тому +15

    I've been getting + seriously into React lately, and thanks to you all of the things that were left unclear from the official documentation/tutorial are now clear as day.
    I've already commented on other videos of yours, but again thank you so much Brad. You're an amazing teacher💯.

  • @bhavinpun1052
    @bhavinpun1052 3 роки тому +31

    I swear man i just wished today that traversy media should upload a crash course on react too and here u r making my wish true thank you so much traversy media

    • @shivanigaddagimath6105
      @shivanigaddagimath6105 3 роки тому

      Hey Bhavin! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?

  • @dylandelorie2067
    @dylandelorie2067 3 роки тому +20

    Who else was feeling so hopeful that he would see that he used “d” instead of “id” on one of the json server entries.
    Btw I’m completely new to React and this tutorial has been really great! Really easy to follow, well explained, and just focusing on fundamentals; exactly what I expect in a crash course 👍 Keep it up!

    • @zay5872
      @zay5872 3 роки тому +1

      Haha I was like wait im not getting this error, then I saw he used d instead of id, if people where wondering when this happens it is on 1:30:00

  • @pierre2338
    @pierre2338 3 роки тому +4

    Usually I struggle to watch a tutorial that last more than 1 hour at one go, but your approach made React more understandable!
    Thanks for giving such good courses bro

  • @honeypot11
    @honeypot11 2 роки тому +4

    this course was perfect, i thought i would have to slave away watching some 48 hour course and here you are condensing it all so well.

    • @andrewleonardi3351
      @andrewleonardi3351 2 роки тому

      this

    • @megumin4625
      @megumin4625 2 роки тому

      It's perfect in a pinch. I need to learn it, and NOW. Cause time is money for me right now

  • @armaansingh5114
    @armaansingh5114 3 роки тому +12

    Just as i was reading the official react document this video popped up. Brad knows it ahead of time cheers!

  • @gunarcom
    @gunarcom 3 роки тому +4

    The first 10 minutes is one of the best explanations of React I've ever heard.

  • @FahadShah822
    @FahadShah822 3 роки тому +58

    This is going to be the de facto React reference for everyone using it until he comes out with the next one. We're witness to a legendary moment in history, guys.

    • @beastmasterbg
      @beastmasterbg 3 роки тому

      Damn I must be out of the loop for this to be legendary

  • @sucesssoulman
    @sucesssoulman 3 роки тому +1

    I had been studying for hours and had a lot of information. Then I found your tutorial, and everything got sense. I understand why people commented on this video as they did. Now I'm part of them. Thank you!!!!! your tutorial taught me a lot!!

  • @austinmillbarge8731
    @austinmillbarge8731 2 роки тому +3

    It's great to have a known objective to work towards, clear explanation of concepts, instructions presented in a logical sequence, with well organized time stamps. Best of all, no show stopping blockers in the form of hording and scrambling access or any other silly boot camp drama and interruptions. So refreshing!

  • @h.cazador
    @h.cazador 3 роки тому +9

    Thanks for updating the course. I'm just getting into React and having a tutorial that's from 2021 is reassuring when it comes to relevant code.

  • @tiffanysantos1512
    @tiffanysantos1512 3 роки тому +19

    Awesome tutorial! It was great that you added the backend integration, as a newbie it is something which confuses me and normally gets glossed over... By adding the fake backend and seeing how you manipulate the JSON data and making repeated requests to the server you have really helped me to understand these concepts. THANK YOU!

    • @madhusaini22
      @madhusaini22 3 роки тому

      Can you please tell me how can i deploy this project with this json server. I had tried to do this but no backend is running :(

  • @PawanKumar-tu6ti
    @PawanKumar-tu6ti 3 роки тому +19

    I just took the React front-to-back course of Brad on Udemy, and guess what, it's frickin' awesome. I just love the way he teaches things.

    • @shivanigaddagimath6105
      @shivanigaddagimath6105 3 роки тому +1

      Hey Pawan! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?

  • @nat.serrano
    @nat.serrano 2 роки тому +1

    This is clear. Some other courses I feel that either the teacher is not good teaching or they just want to show off their sophisticated code

  • @dhanukalakshan1553
    @dhanukalakshan1553 2 роки тому +1

    I tried to learn react multiple times but i wasn't able to learn it.But this time,things has changed thanks to you,now i know how React works and how to combine all of these Stuff into an end Product.
    Thank you Brad

  • @RAZR_Channel
    @RAZR_Channel 3 роки тому +233

    I've been in this 20 years.... you make the best shit man. Always clear... and most importantly Demonstrated (unlike other tubers that just talk about something which is probably just something they watched from people like yourself and are repeating to make youtube content)

    • @Susushauauw
      @Susushauauw 3 роки тому +1

      best shit? 😂

    • @RAZR_Channel
      @RAZR_Channel 3 роки тому +11

      @@Susushauauw American Slang... for: Best Stuff

    • @LUKFUNTV
      @LUKFUNTV 3 роки тому +3

      @@Susushauauw
      It sounds like giving toilet paper for a housewarming party😁
      Lol

    • @LUKFUNTV
      @LUKFUNTV 3 роки тому +2

      Don't take it strong.
      Just kidding 😁😀😀

    • @RAZR_Channel
      @RAZR_Channel 3 роки тому +2

      @@LUKFUNTV That's a good idea... Better yet to take a big nasty one to break in the toilet as well..

  • @k8hansen
    @k8hansen 3 роки тому +28

    Thank you so much for this! This has truly been the most fantastic react overview I've seen to date. I've been stuck in an endless loop of verbose tutorials, and I really needed a quick overview of hooks, state, and spread operators. This is so fantastic, thank you!

  • @Asuuri
    @Asuuri 3 роки тому +12

    Im currently learning React! And ive watched a lot courses! But this is the best course imo, this course covers so much topics and contains so much value! Thanks a lot Brad!!

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

    Best tutorial so far. It isn't often that coders know how to speak both common English and code

  • @OneBigByte
    @OneBigByte Рік тому +2

    For react-dom version 6:
    1:44:20
    Instead of "render={(props) => ( ..." use "element={..."
    then follow Trevor's tip on
    1:43:40
    1. You must also import Routes from react-router-dom and wrap your tag in a tag
    2. Instead of component={About} use element={}

  • @dynamodenis1164
    @dynamodenis1164 3 роки тому +14

    It amazes me how you code every day yet everything seems all new

    • @RedBeardRetroTech
      @RedBeardRetroTech 3 роки тому +2

      I feel no matter how much I learn there's always so much more to understand and learn, nested learning??!!

  • @abdullahibundi6109
    @abdullahibundi6109 3 роки тому +4

    I learn a lot to develop both in front and back end web dev from you, you're the genius, keep on we're behind you, and thanks.

  • @ananyasingh8761
    @ananyasingh8761 3 роки тому +23

    I literally just finished watching your React Crash Course from 2019 and then I see this haha

    • @TraversyMedia
      @TraversyMedia  3 роки тому +19

      It’s still relevant but I wanted to use hooks instead of class components

    • @JBuchmann
      @JBuchmann 3 роки тому

      @@TraversyMedia Not to mention class components will still be relevant for some time since many of us have to deal with older code.

  • @kevinking1566
    @kevinking1566 2 роки тому

    My man. I've got a job interview tomorrow and I'm re-watching this video to brush up. You are the best.

  • @jewalker7842
    @jewalker7842 3 роки тому

    I have been trying to wrap my head around React for weeks and you just hit the nail on the head with a sludge hammer!!! Thank you!!!

  • @kalinduR96
    @kalinduR96 3 роки тому +4

    this is the first tutorial I followed to start learning react and man I'm so glad I did. thank you very much Brad. keep it up

    • @shivanigaddagimath6105
      @shivanigaddagimath6105 3 роки тому

      Hi Kalindu! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?

    • @frontendHacks
      @frontendHacks 2 роки тому

      ua-cam.com/video/cMs0RirA-rU/v-deo.html&ab_channel=DevTips

  • @Uniqflav
    @Uniqflav 3 роки тому +9

    Thank you Brad, one of my goals this year was to learn React and having you as a teacher makes everything better

  • @DThompsonDev
    @DThompsonDev 3 роки тому +197

    WOW! Brad is back with a React Crash Course! WHOA! Just cancelled lunch plans with my family. This is a big moment for me instead! lol

    • @DThompsonDev
      @DThompsonDev 3 роки тому +19

      @Paul Maximus I have. But Brad is awesome so I have to show him support. I work in react at work, but it is always good to review material and support someone great!

  • @dguedry01
    @dguedry01 2 роки тому

    This is a brilliant tutorial. It just cuts to the chase and immediately gets to the crux of things. Thanks for sharing. Very helpful.

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

    You are ####### amazing man. Every single one of your videos are so succinct, cover every single issue that you would come accross. I've watched a lot of tutorials in my time and no one covers everything the way you do with 0 time wasting. Everything you mention/talk about is 100% relevant and easy to digest. Ridiculous how good you are

  • @CodingNuggets
    @CodingNuggets 3 роки тому +6

    As always, thank you so much Brad. Don't need this, but so happy to see you helping the new guys and girls. We're all in this together. Best of luck to everyone in 2021!

  • @YeloPartyHat
    @YeloPartyHat 2 роки тому +3

    For those having a MiniCssExtractPlugin constructor error when building around 1:20:05, put this in your console then build
    npm i -D --save-exact mini-css-extract-plugin@2.4.5

  • @karljohannisson
    @karljohannisson 3 роки тому +3

    This video was amazing! I’ve been trying to grasp React for a few days now and this video just nailed it. It’s clear that you are very knowledgeable within this area, and you are terrific at conveying the concepts to others. Thank you!

  • @clockwork204
    @clockwork204 2 роки тому

    Very nice beginner tutorial. I like this slow approach where take your time building the app up and showing the results in each step, instead of just writing the whole thing down and we just see the end product. Easier to visualize what each code actually does. Showing alternative approaches really helps too.

  • @mnreddy6443
    @mnreddy6443 2 роки тому

    Just wow. Im a backend dev. Wanted to learn react. I saw another video of 2 hours. But coudln't grap clealy. But this guy is an amazing teacher. The way he explains is awesome. Subbed. Gonna watch all your videos.

  • @lnkeat
    @lnkeat 3 роки тому +10

    Brad!!! Thank you so much for this (and your other tutorials!) These walk-throughs are some of the MOST valuable things in my learning process. And I'm paying $$$ to do a well-established software engineering bootcamp. This really helps put together pieces that I didn't even realize are missing. Thank you, thank you, thank you!!!

  • @kevingrimaldi1774
    @kevingrimaldi1774 2 роки тому +3

    Simply awesome. My first time dealing with React, and I can say this video is definitely beginner's friendly! Thanks a lot!

  • @tomhollins9266
    @tomhollins9266 3 роки тому +5

    This was not too long. It was an excellent crash course. Taught well by you. Thank you.

  • @melkeydevvods7698
    @melkeydevvods7698 2 роки тому

    This basically showed me I can build any app with the core basics of React. You're the best.

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

    Only required Information is delivered, no chit chat only qualitative stuff. Great.
    You just got a new follower and subscriber.

  • @neilbarry3
    @neilbarry3 3 роки тому +46

    Brad, we really can't thank you enough!

  • @_swordancer_
    @_swordancer_ 3 роки тому +20

    Great course !! It's funny to watch how Brad can't see that he has 'd' instead of 'id' in the second object, but that kind of things makes course even better. Shows that everyone makes mistakes from not-even-junior to senior full-stack :)

  • @jameshansen801
    @jameshansen801 3 роки тому +4

    Thank you so much for this course! While I'll admit that attempting to learn React, for me has been daunting for a long time. But the way you teach has put my mind at ease. I learned so much :)

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

    I love this guy when it comes to crash courses - react, react-native and what you did with Angular I really appreciate. Thank you

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

    Crystal clear, I was able to practice this completely in my laptop without any difficulties. Thanks a lot for your effort brother. God bless you!

  • @pinderant
    @pinderant 2 роки тому +6

    Thank you so much Brad for this incredible crash course. I really loved seeing how fast things can go using react. Can't wait to start redoing some of my portfolio projects in react

  • @riyastp1835
    @riyastp1835 3 роки тому +116

    1:25:00 Me screaming : YOU MISSED "i"
    1:29:16 Me : NO
    1:29:32 Me : Look at the second line
    1:29:40 Me : Coz, Missed an "i"
    1:35:00 Me: I Knew you gonna find it. Now I can rest in peace

    • @KT-ut9zg
      @KT-ut9zg 3 роки тому +2

      1:29:50 Reads below for hopeful spoiler alert about him finding the missing 'i'. Phew!

    • @MichaelKire
      @MichaelKire 3 роки тому +4

      He didnt fix the key -> index back to id tho

    • @arlet9788
      @arlet9788 3 роки тому +1

      hahahha that gave a little bit of anxiety ngl

    • @manthikatharumudu4905
      @manthikatharumudu4905 3 роки тому +3

      Hahahaha same! xd

    • @TheJphrubant
      @TheJphrubant 3 роки тому

      I was screaming at the screen

  • @VaidehiPandya2410
    @VaidehiPandya2410 3 роки тому +16

    Your crash courses are helping me to clear my interviews! Thanks a lot, man! I wish I could've subscribed to this channel earlier! haha

    • @shivanigaddagimath5994
      @shivanigaddagimath5994 3 роки тому +1

      Hi Vaidehi, where are you based currently? Are you still interviewing for web development roles? We are interested in hiring talented web developers.

    • @abhijiths148
      @abhijiths148 3 роки тому +1

      @@shivanigaddagimath5994 Interested

    • @shivanigaddagimath5994
      @shivanigaddagimath5994 3 роки тому +1

      @@abhijiths148 Good to know that Abhijith! Can we please get in touch to discuss more? Please connect with me using the information mentioned on my channel. Looking forward to hearing from you!

  • @itzyourbwoytchybooxuur6475
    @itzyourbwoytchybooxuur6475 2 роки тому +1

    Awesome contents on this channel!
    This is totally what I needed to brush up on REACT!
    Moreso, I have a 'no too important' observation at 1:13:07
    The code that generates ids in the function handler 'addTask' in 'App.js' component, given below:
    const id = Math.floor(Math.random()*10000) + 1;
    could be changed to:
    const id = Math.floor(Math.random()*10000) + 4;
    since we already have ids of 1, 2 & 3.
    This was later made irrelevant after incorporating json server as it generates its own ids.
    However, the correction may be useful for those who didn't add json-server to theirs.

  • @effoff6904
    @effoff6904 2 роки тому +1

    Bruh idek what I would do without this channel

  • @marcosochieng5175
    @marcosochieng5175 3 роки тому +4

    I've been eagerly waiting for this updated version. I can't thank you enough.

  • @prenomnom5637
    @prenomnom5637 3 роки тому +18

    Are you serious? I was just planning to start learning React! haha this is awesome 😄

  • @ahndeux
    @ahndeux 3 роки тому +1

    All the non-Hindi speaking viewers in the world thank you for your contribution to society. You are the best at explaining every single step!

  • @ianeyansky5635
    @ianeyansky5635 3 роки тому +2

    Just finished this crash course to the last minute. I can say it is worth every minute!! 😍 . Thanks Brad!!

  • @AmZaDin14
    @AmZaDin14 3 роки тому +5

    For Mobile Phone
    Timestamps:
    0:00 - Intro & Slides
    12:37 - Create a React app
    14:52 - Files & folders
    18:54 - App component & JSX
    22:39 - Expressions in JSX
    23:49 - Creating a component
    27:18 - Component Props
    28:50 - PropTypes
    30:42 - Styling
    34:17 - Button Component
    37:46 - Events
    40:18 - Tasks Component
    41:03 - Create a list with .map()
    43:07 - State & useState Hook
    44:55 - Global state
    46:52 - Task Component
    49:30 - Icons with react-icons
    51:41 - Delete task & prop drilling
    55:50 - Optional message if no tasks
    56:58 - Toggle reminder & conditional styling
    1:03:13 - Add Task Form
    1:06:16 - Form input state (controlled components)
    1:09:18 - Add task submit
    1:14:36 - showAddTask state
    1:15:58 - Button toggle
    1:19:33 - Build for production
    1:21:51 - JSON Server
    1:25:53 - useEffect Hook & Fetch tasks from server
    1:30:13 - Delete task from server
    1:31:51 - Add task to server
    1:35:15 - Toggle reminder on server
    1:39:15 - Routing, footer & about

  • @TimmyBlumberg
    @TimmyBlumberg Рік тому +9

    Incredible tutorial, really learned a lot working through this~

  • @twinpixie3460
    @twinpixie3460 3 роки тому

    This is a great tutorial. I always see many tutorials about coding and usually stop about 30 minutes in. I did that with both Angular and React. When I watched your crash courses on both of those they finally clicked!

  • @bibeduck6001
    @bibeduck6001 3 роки тому

    I'm a career-shifter and a newbie this crash course really helped me alot. Got stuck in Router part where I think I installed v6 so I install v5. Thank you sooo much!

  • @ВадимГаджимурадов
    @ВадимГаджимурадов 3 роки тому +44

    1:30:00 on second task lost "i" in "id"

    • @edjohnson-williams
      @edjohnson-williams 3 роки тому +1

      He knows. He fixed it at 1:35:00.

    • @felixlipski3956
      @felixlipski3956 3 роки тому

      imagine if he deleted this task accidentally while testing deleteTask and would never know

  • @adityabarshilia4279
    @adityabarshilia4279 3 роки тому +5

    Did someone else struggle with the Add button toggle, because Brad missed the part in the video where he should catch the Button onClick prop in Button.js? It drove me crazy for almost an hour 😓

  • @ParadoxWorks
    @ParadoxWorks 3 роки тому +7

    49:06 :))) Why we love you. These little things, like a cherry on the top.

    • @xplusziefv
      @xplusziefv 3 роки тому

      Wow yea peak comedy right here..

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

    half way through it and I have already learned a lot of concepts!
    Thank you for creating a thorough video!

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

    thank you so much, i was overwhelmed by react before this course with all the abstractions but after your video everything about the hooks, props, and routes makes so much sense now... you deserve all support.

  • @susheendharvijay2059
    @susheendharvijay2059 3 роки тому +4

    This was amazing! Thanks for the amazing content Brad, feeling grateful for your channel.

    • @shivanigaddagimath6105
      @shivanigaddagimath6105 3 роки тому

      Hi Susheendhar! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?

  • @infinityApologeticsClips
    @infinityApologeticsClips 3 роки тому +4

    React is amazing. Will be my new front end framework.

    • @ManishKumar-mi7ko
      @ManishKumar-mi7ko 3 роки тому

      just want to correct you that react is ui library not a framework.

  • @flyguynoaholdksa5461
    @flyguynoaholdksa5461 3 роки тому +6

    Bruhhhh you read my mind. I was just thinking about when you were going to drop a react js crash course 😂

  • @isbeb507
    @isbeb507 2 роки тому

    It's amazing how a 2 hour video takes a whole day to work through, but i made it! thanks for making this!

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

    This is an outstanding tutorial. As a React beginner, I was able to follow it all the way through and took frequent pauses to try coding out front-end and server-side functionality myself before you did so I could learn from your approach better. Thank you so much!

  • @shannon-daygrant8754
    @shannon-daygrant8754 3 роки тому +21

    Employer:
    What are your skills?
    Me:
    I can pretty much follow Traversy Media's tutorials. Not always, but most of the time.
    Employer:
    You're hired.

    • @lPoliticallyFye
      @lPoliticallyFye 3 роки тому

      is it that easy?

    • @shannon-daygrant8754
      @shannon-daygrant8754 3 роки тому

      @@lPoliticallyFye No that was a joke. I'm not sure what an employer would say to that.

    • @jack-ed2cz
      @jack-ed2cz 3 роки тому

      @@shannon-daygrant8754 The employer would say, "Sorry, we're not a good fit." Two weeks later the employer would call you back "PLEASE PLEASE PRETTY PLEASE COME WORK FOR US!!!!!!"

    • @LUKFUNTV
      @LUKFUNTV 3 роки тому

      Following and doing stuffs yourself, there is a vast sea in between🧐