React JS Crash Course

Поделиться
HTML-код
  • Опубликовано: 22 дек 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 - ruclips.net/video/k2Zk5cbiZhg/видео.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

  • @TraversyMedia
    @TraversyMedia  3 года назад +1009

    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

  • @mvgiacomello
    @mvgiacomello 3 года назад +1887

    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 2 года назад

      gg

    • @0100-w1s
      @0100-w1s 2 года назад

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

  • @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 года назад +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.

  • @romulororizz
    @romulororizz 3 года назад +1277

    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 года назад +43

      @@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 года назад +23

      @@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?

  • @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 RUclips :)

    • @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

  • @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 !

  • @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.

  • @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!

  • @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 :)

  • @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 3 года назад +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

  • @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!

  • @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!

  • @captainnemonic
    @captainnemonic 3 года назад +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!

  • @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.

  • @robsonsilv4.
    @robsonsilv4. 3 года назад +154

    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 .

  • @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?

  • @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 2 года назад

      @@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

  • @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?

  • @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💯.

  • @armaansingh5114
    @armaansingh5114 3 года назад +12

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

  • @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

  • @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!

  • @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..

  • @hemanthkotagiri8865
    @hemanthkotagiri8865 3 года назад +40

    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?

  • @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.

  • @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!

  • @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

  • @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.

  • @neilbarry3
    @neilbarry3 3 года назад +45

    Brad, we really can't thank you enough!

  • @gunarcom
    @gunarcom 3 года назад +4

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

  • @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

  • @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!!

  • @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!

  • @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?

  • @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 3 года назад

      ruclips.net/video/cMs0RirA-rU/видео.html&ab_channel=DevTips

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

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

  • @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={}

  • @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 :(

  • @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?

  • @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

  • @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!!!

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

      Yeah, I am in the same boat.

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

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

  • @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?

  • @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 . 👍👍

  • @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!!

  • @dhanukalakshan1553
    @dhanukalakshan1553 3 года назад +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

  • @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

  • @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

  • @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.

  • @DThompsonDev
    @DThompsonDev 3 года назад +196

    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!

  • @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!

  • @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.

  • @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.

  • @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

  • @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!

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

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

  • @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.

  • @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!

  • @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!

  • @marcosochieng5175
    @marcosochieng5175 3 года назад +4

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

  • @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.

  • @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.

  • @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.

  • @_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 :)

  • @tomhollins9266
    @tomhollins9266 3 года назад +5

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

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

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

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

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

  • @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

  • @ВадимГаджимурадов
    @ВадимГаджимурадов 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

  • @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

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

    First of all, I love that you update your courses when it is needed! I love this course! You made a great choice for an app! I am looking to change jobs and wanted a brush up on newer React and this course was perfect! Everything is so much easier than it used to be.

  • @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!!!

  • @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 :)

  • @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

  • @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??!!

  • @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.

  • @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

  • @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 9 месяцев назад

      what is the book

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

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

  • @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

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

    The ONLY REACT COURSE I finished!!!!!!! Thanks a ton Brad, Good work!

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

      Thanks. Thinking of going with this crash course over the others.

  • @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.

  • @riyastp1835
    @riyastp1835 3 года назад +115

    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

  • @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?

  • @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!

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

    Congratulations on creating an amazing course! This was my first time using React and I must say, everything you explained was crystal clear. Thank you for making the learning experience so easy and enjoyable!

  • @hashimabbas2508
    @hashimabbas2508 3 года назад +11

    Legend is back 🙌

  • @prenomnom5637
    @prenomnom5637 3 года назад +17

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

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

    Incredible tutorial, really learned a lot working through this~

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

    This is a great walkthrough. Very informative. The meaning and structure of the code I've been staring at for the last week are suddenly popping out at me. Thank you!

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

    This was really good, by 40 minutes I was stopping the video and doing your next step before you and nailing it! Thanks!

  • @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..

  • @aldanamichelino
    @aldanamichelino 3 года назад +37

    Anyone else screaming "you missed an 'i' in the second 'id'!!!" at the screen? JK, great tutorial, man!

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

      Yeah I hv seen too 😂

    • @ntigirishari
      @ntigirishari 3 года назад +1

      didn't even notice until he said it :-)

    • @LUKFUNTV
      @LUKFUNTV 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

  • @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🧐

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

    Bruh idek what I would do without this channel

  • @Cpt_Chirp
    @Cpt_Chirp 3 года назад +1

    You are such a good CS teacher. I wish I had you instead of some of the profs I had in college. I always find myself coming back to your channel any time I'm trying to pick up a new framework.

  • @marcelnunez1658
    @marcelnunez1658 3 года назад +5

    Lmao I needed this literally now, I'll watch this and then buy the course