React Crash Course 2024

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 มิ.ย. 2024
  • Learn the basics of React, such as components, props, state, data fetching, and more, while building a job listing frontend.
    Code:
    github.com/bradtraversy/react...
    React Front To Back Full Course:
    www.traversymedia.com/Modern-...
    Check out all my courses:
    traversymedia.com
    Social Media:
    Github - github.com/bradtraversy
    Twitter - / traversymedia
    Instagram - / traversymedia
    Facebook - / traversymedia
    Linkedin - / bradtraversy
    Timestamps:
    0:00 - Intro
    1:55 - What Is React? (Slide)
    3:43 - Why React? (Slide)
    7:19 - What Are Components? (Slide)
    8:21 - What Is State? (Slide)
    10:00 - What Are Hooks? (Slide)
    11:17 - What Is JSX? (Slide)
    12:42 - SPA, SSR, SSG (Slide)
    15:38 - Vite (Slide)
    16:30 - Project Demo
    19:53 - Setup React With Vite
    22:29 - File Explanation
    25:11 - Boilerplate Cleanup
    26:48 - Tailwind CSS Setup
    30:24 - JSX Crash Course
    39:37 - Start Homepage
    42:00 - Navbar Component
    43:56 - Image Import
    45:24 - Hero Component
    46:17 - Props
    48:00 - Default Props
    48:51 - Wrapper Components
    55:14 - JobListings Component
    58:50 - Create Lists With map()
    1:03:20 - Single JobListing Component
    1:05:49 - Limit Jobs to 3
    1:07:50 - useState() Hook & Desc Toggle
    1:13:07 - Creating an Event
    1:14:20 - Updating Component State
    1:16:00 - React Icons Package
    1:18:00 - React Router Setup
    1:20:21 - Create Routes From Elements
    1:21:36 - Router Provider
    1:22:36 - Homepage Component/Route
    1:24:40 - Layouts
    1:29:06 - Jobs Page Component/Route
    1:30:50 - Link Component
    1:34:20 - Custom 404 Page
    1:36:55 - Active Links With NavLink
    1:41:00 - Conditional Rendering
    1:43:10 - JSON Server Setup
    1:47:00 - useEffect() & Data Fetching
    1:53:07 - Loading Spinner
    1:51:06 - Conditional Fetching
    1:59:45 - Proxying
    2:03:38 - Single Job Page
    2:09:04 - useParams() to Get ID
    2:12:25 - Data Loaders
    2:16:36 - Single Job Output
    2:22:00 - Add Job Page
    2:23:40 - Working With Forms
    2:30:05 - Form Submission
    2:35:27 - Pass Function as Prop
    2:39:32 - POST Request to Add Job
    2:41:45 - Delete Job Button/function
    2:45:12 - DELETE Request to Remove Job
    2:46:50 - React Toastify Package
    2:50:08 - Edit Job Page/Form
    2:56:05 - Update Form Submission
    2:58:54 - PUT Request to Update Job
    3:02:10 - Build Static Assets For Production
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @bushigi5913
    @bushigi5913 2 หลายเดือนก่อน +275

    Even though I don't need this, it's still unbelievable that someone would ever create such useful, lengthy videos FOR FREE. Thank you!

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

      hell yes ,-,

    • @luisbrazilva
      @luisbrazilva 18 วันที่ผ่านมา +3

      TH-cam is monetized.

    • @deitunegold4593
      @deitunegold4593 4 วันที่ผ่านมา

      I downloaded the Course document from Github but i noticed the jobs.jason files aren’t showing up when i load the website on chrome (also nothing is showing under Recent jobs). Any help?

    • @conaxlearn8566
      @conaxlearn8566 3 วันที่ผ่านมา

      @@deitunegold4593 I just followed through the video and was able to replicate everything the video show. But at times a slight typo can crash the page. Try using Chrome developer tool to check what error message it gives you.

  • @husseinkizz
    @husseinkizz 2 หลายเดือนก่อน +68

    Thanks Brad, always one of the best teachers on internet, you taught me react 4 years ago, I now make react libraries and stuff, thanks man, can't appreciate your works enough!

  • @naelcodes
    @naelcodes 2 หลายเดือนก่อน +41

    The timing is insane, needed a refresher. Thanks Brad

  • @marshax
    @marshax 2 หลายเดือนก่อน +65

    "It's JavaScript. You're always going to be confused." Well said.

  • @waklara9973
    @waklara9973 หลายเดือนก่อน +27

    let me tell you something Brad, you're like my Big brother and tech mentor. even though i graduated in software engineering with 3.93GPA from the top technology University in my country; i didn't have much real world experiences. 3 years ago while i was in the University i start learning MERN Stack from you and JavaScript mastery Chanel. then i got a job and work for Ethiopian Military. while i was working for the Military i also got a chance to work for the biggest security agency in my country. right now i am working for a big private enterprise and 19 banks.
    on top of that a year ago i started a software development company and i own 50% of the company.
    i learn a lot from you than my university courses combined.
    All i can say is thank you and God bless you!

  • @chivicks_hazard
    @chivicks_hazard 2 หลายเดือนก่อน +8

    Thank you Brad 😊
    I was considering watching the old tutorial with respect to React 19 but I'm so much relieved now.
    You're the best 👍💯

  • @codeJourneyGuides
    @codeJourneyGuides 2 หลายเดือนก่อน +25

    Omg i was searching for new react courses to learn and i just found the best one 😁 Hoping to complete this... thanks brad 👍

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

      Same I am also searching thank you Bard...........

  • @fromagetriste
    @fromagetriste 2 หลายเดือนก่อน +4

    super happy about the video, thank you so much

  • @whatscooking104
    @whatscooking104 หลายเดือนก่อน +15

    Please team up with some folks and do a professional E-commerce course where you put everything together. Planning, Figma, UI/UX, frontend, backend, database, microservices, version control, CI/CD etc etc etc etc. Pay attention to everything

    • @andiuptown1711
      @andiuptown1711 11 วันที่ผ่านมา +2

      …Learn to read documentation

  • @ivanperez4878
    @ivanperez4878 2 หลายเดือนก่อน +3

    Awesome course, right on time! Thank you for helping us all.

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

    Thank you so much, Brad. I've studying your 2021 React Crash Course, this video comes just at the right time. Many many thanks

  • @webdevluc
    @webdevluc 2 หลายเดือนก่อน +20

    Amazing work with the updated React crash course. It's rare to find such high quality learning resource offered for free

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

      Honestly speaking

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

      I only skimmed the section names but are contexts and providers not covered?

  • @BMRG14
    @BMRG14 2 หลายเดือนก่อน +3

    Right on time! Thank you very much.

  • @adriande_leon
    @adriande_leon 2 หลายเดือนก่อน +5

    Thank you so much Brad for posting this, I haven't touched React in a couple years and this is a good refresher!

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

    Hats off to you for crafting these incredibly beneficial and extensive videos out of sheer generosity. Your efforts are truly appreciated!

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

    Awesome Tutorial that really explains and brings things to light! Well done Brad, I look forward to learning more from you.

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

    THX Brad, learned everything from you, it gives me a very peaceful vibe just listening to your voice, so I still watch/listen your every video.

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

    Fantastic tutorial. This is for me, the best way to learn and get used to a real project structure. Excellent job. You're an amazing teacher. Thank you.

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

    I started watching you and your html intro video in 2019. Im still here… still learning and still building thank you so much for these videos

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

    Exactly what I need!
    Thank you for making such a high quality video!

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

    Amazing video, bundles everything you need to make an entire project. Keep up the amazing work!

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

    Doing some revisions and Brad comes in with an updated React course. You're absolutely insane Brad, thank you for all that you do!

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

    Just in time, I was looking for a React course! Thank you, Brad!

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

    Hey Brad. Your speech pacing is a perfect speed for me to learn. I find a lot of tutorials want to rush through things. Thanks for the refresher on React. I’ve been building mainly Shopify sites for work and needed to brush up on React for our companies Next JS blog.

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

    This video perfectly timed, i was just getting into react and this was exactly what i needed right now. Best timing, and best explanation ever. W guy thanks yo

  • @alexostrovsky3711
    @alexostrovsky3711 19 วันที่ผ่านมา +1

    I actually never heard of a "crash course" concept until this one. And it is exactly what I needed. Thanks a lot! Great work.

    • @firluk
      @firluk 19 วันที่ผ่านมา +2

      "it's JavaScript - you are always going to be confused"
      At least this Crash Course is helping

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

    This video is what i was looking for. Thank you so much!

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

    So far, this is the best react course that I've watched. Thanks Brad ❤

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

    Couldn't have come at a better time. Looking forward to the 19's official release and your update. You have no idea how much this helps, thank you!

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

    The is truly beginner friendly. One of the best react tutorials. Thanks for the video.

  • @jawaderfani8743
    @jawaderfani8743 2 หลายเดือนก่อน +8

    thanks brad you are doing great 👍👍

  • @user-lb5yn1ff8w
    @user-lb5yn1ff8w 2 หลายเดือนก่อน

    Great Video!!! Thx for sharing your knowledge. My top 1 on the list must-see!

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

    what a good timing been waiting latest react tutorial thank you.

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

    Great timing, Thanks.

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

    Thank you! Been studying React for about 3 weeks now. Your video does an excellent job of explaining things in a way I understand. Some other videos I have found just have you follow along without telling you why you are doing the current task. Appreciate this! 🙂

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

      Can we be accountability partners, I am on my way to full stack but my achilles heel tbh is styling lol

  • @centralcoding
    @centralcoding 2 หลายเดือนก่อน +6

    i remember, Ive learned html and css from your youtube channel, then im know teaching many people.
    and you came at the right time when i just started learning REACT.
    I have commented before watching the tutorial. I hope i will grab some important basics of react.
    thank you!

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

    Literally when I just started a project in React for uni, thanks man!

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

    Finished it! took me 2 days to follow along but I did it! The journey of a thousand miles begins with the a single step.

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

    Thank you very much. I was thinking about it 😅.

  • @MrUnknown-eq8rh
    @MrUnknown-eq8rh 2 หลายเดือนก่อน

    It was much needed I am learning full stack right now... Thank you so much

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

    very helpful for a startup project to understand the essential tools for ReactJs, thank you so much.

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

    This is such a good tutorial. It's so concise, useful and straight to the point. Awesome.

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

    1 hour and 8 minutes into the video, and you catch me late and give me an AHA moment for react. thanks a lot Brad. Very appreciated that you do videos consistently and keep up to date with what we need to learn and give this information for free. thanks!!

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

    Thank you so much Brad, for this course. I am a Backend Engineer who wants to have a taste of the frontend. Thanks again Brad Traversy.

  • @aliciaromano6335
    @aliciaromano6335 27 วันที่ผ่านมา

    This was incredibly helpful. I am blown away by the time and effort you put in to making this tutorial. Thank you so much!

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

    Amazing tutorial. Always loved Traversy Media tutorials, so indepth and easy to understand.

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

    Thanks Brad! You are awesome!

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

    Waiting for this video. Thank you 🙏

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

    great! you make it look so easy, thank you

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

    Can't wait to complete it ❤❤❤

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

    I love this channel man, always cooking useful content

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

    Many thanks Brad. Took me full 8 hrs to code it while watching, but it was all worth the effort. Now I will go back to your React course on Traversy Media and add remaining features like backend API and authentication.

  • @davidemmanuel5057
    @davidemmanuel5057 23 วันที่ผ่านมา +4

    just finished the entire 3 hours and have my code in my github for future reference, pretty good tutorial as the others from this channel, concise, explanatory, direct and practical. The json server mockup just amazed me, I didn't know you can support an entire crud with a json file, cool. I came from vue and there are some things I don't like yet from react, mostly the syntaxis is prone to errors and a bit tangled, but I remember I complained a lot when started with vue a couple of years ago. Still thinking vue is more refined (better in short) than react but react and angular are way more popular, so for job offers I'm learning this one. Thx

    • @adarshtiwari7395
      @adarshtiwari7395 20 วันที่ผ่านมา +1

      This is exactly my situation haha. Worked with Vue till now but most openings in the market are for React. How are you preparing for a react position?

    • @deitunegold4593
      @deitunegold4593 4 วันที่ผ่านมา

      I downloaded the Course document from Github but i noticed the jobs.jason files aren’t showing up when i load the website on chrome (also nothing is showing under Recent jobs). Any help?

    • @davidemmanuel5057
      @davidemmanuel5057 วันที่ผ่านมา

      @@deitunegold4593 bro i think u have copied same from the github folder remove the jobs and flower brackets and then try it u will not get error
      like this
      {
      "jobs":[
      all data.......
      ]
      }

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

    The first channel that I have subscribed to. Thanks for these helpful videos.

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

    Im super excited to learn React. I was just waiting for you course🎉. Thanks Brad. God bless you ❤

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

    Such an amazing tutorial man. I can confidently say I can start a react project with no problems after watching this. I really appreciate your videos!

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

    Finally, finish and complete this course!! Nice concepts

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

    Awesome up to date tutorial. Thanks!

  • @gaurabrimal6395
    @gaurabrimal6395 11 วันที่ผ่านมา

    Thankyou for the course. I completed it today and enjoyed it thoroughly.

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

    I was searching for an updated React course ❤

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

    Thankyou for all your efforts, it makes a difference !

  • @enzo.n.aguiar
    @enzo.n.aguiar หลายเดือนก่อน

    Thank you Brad. I was looking foward to get up to date on React after coming back on coding. As always your content is and will always be very helpfull.

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

    Great course! I've been trying to dig into React, Vue, etc., by tinkering on my own but couldn't quite grasp it. This is the first resource that finally made sense to the point that I'm convinced I can start using it in projects. Thanks for the walk-through and excellent explanations!

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

    I had previously commented about the edit page not displaying the correct salary amount, but I have now figured out the issue for anyone curious. The original 6 jobs all have a salary amount that is not actually an option in the drop down menu. For one, the amount is not an option. And the others is because the higher amount in the salary does not have a $.
    You can fix the issue by simply updating the salary for each job on the edit job page. After that, the edit job page will display the correct salary.
    Again, thank you so much for the video, I learned a ton!

  • @evolution3658
    @evolution3658 10 วันที่ผ่านมา

    Thanks a lot!!! No any comparison to other courses. Best!

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

    I can't ever thank you enough, Brad. Keep up the great work

  • @m_shakes
    @m_shakes 27 วันที่ผ่านมา

    You are amazing! Thank you so much for this, you make it look easy!

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

    Thank you Brad !!

  • @AvinashSingh-ts1cn
    @AvinashSingh-ts1cn 2 หลายเดือนก่อน

    Great tutorial no bs all very informative. Thanks for such high quality video.

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

    This was awesome Brad! Thank you man!!!!! The only thing I had to fix was the email text box on the jobs page was overflowing which I fixed with break-words and whitespace-pre-wrap properties. But that was it. I had such a good time following along. 🔥

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

    Thanks for putting together such an excellent course. I can now do basic react react development. This was so well explained.

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

    Oh man, I've learn so much from you, Brad. Thank you so much! I'm a Angular developer (thanks to you too lol) and after knowing Astro, I felt motivated to learn more about React. And it looks so much simpler than Angular, I loved it. But the organization of the project really concerned me. You have freedom to do things however you want, but that opens a whole lot of chances to mess things up, specially long term. You made it clear that your focus on this crash course was to make it as simples as possible, but maybe this could be an interesting topic for another video. How to make this application more advanced (in terms of code). Best practices, other libraries, refactoring code, avoid repetition and so on. Thanks again!!

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

    Thank you so much for this amazing crash course this is really helping me to understand the functionality in really easy way. Thank you so much Brad.

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

    Thanks a ton! For the valuable video... Really amazing explanation in a simple way.

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

    Been a few months since writing UI at work (been doing a lot of backend stuff lately). I was a UI Engineer entering my current company but now I feel rusty. This was perfect to ramp back up for a project.

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

    I needed this. Thanks!

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

    Thank you so much for sharing this course.

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

    This is just what I needed. Now All I have to do is look for 6 hours to watch this

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

    Hey, Brad. I just want to say thanks to your contents. Even though docs exists, I'm more of a visual learner. I had a hard time understanding the latest concepts of React Router and this video has simplified it.

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

    Excellent as usual.

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

    Great, man, really great. Thanks for this!

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

    Even before starting this course you know it's going to be quality from the best coding instructor. Would of gladly paided for this. Thanks always Brad.

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

    really looking forward to complete it...

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

    Man you are an inspiration. Thanks for the great course!

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

    Thanks Brad 💞

  • @DeborahRise
    @DeborahRise 16 วันที่ผ่านมา

    Thank you so much for this. I totally benefitted so much from this and I am grateful for your time.

  • @conaxlearn8566
    @conaxlearn8566 3 วันที่ผ่านมา

    Love this one. Thank you very much.
    I did however catch at 2:55:55, the salary wasn't initialized correctly simply because in the JSON data file, salary strings are different from the select options. E.g.
    In JSON file: "$90K - $100K"
    In EditJobPage: "$90K - 100K" (The $ is missing from 100K)

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

    Excellent Tutorial!!!! I did not know anything about React JS, but with this video I learnt the basic CRUD project using React JS. It was a lot of fun. I cannot thank you enough for your great effort.

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

    It is awesome! Thanks for your time!

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

    One of the Best Crash Course on React in 2024!!
    Thankyou very much Brad❤.

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

    Thanks Traversy Media 🙌

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

    I'm 15 mins in and this is damn good already. Great work, as always

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

    Sweet, this will be handy AF. Gracias, sir!

  • @jesf570
    @jesf570 14 วันที่ผ่านมา

    Truly the dev goatof TH-cam, from 0 to hero, you're the best on the tube.

  • @gamesandmoregames8946
    @gamesandmoregames8946 19 วันที่ผ่านมา

    This was useful especially on routes. Thanks

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

    As someone who has been spending the last few months on Python, YAML, and Ansible, I needed this as a refresher.

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

    Uploaded 10 days ago, love it!

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

    Nice one Brad!

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

    Great tutorial. Thanks a lot!

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

    amazing. thank you