Learn React In 30 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2019
  • 🚨 IMPORTANT:
    Full React Course: courses.webdevsimplified.com/...
    In this video I will be covering all of the basics of React in only 30 minutes. We will cover create-react-app, components, state, props, rendering, event handling, and so much more. By the end of this video you will have a full understanding of the basics of React, but if you want to take your React knowledge to the next level checkout my full React course linked above for the best React learning experience on the web.
    📚 Materials/References:
    How To Install Node.js: • Your First Node.js Web...
    Destructoring Video: • Why Is Array/Object De...
    GitHub Code: github.com/WebDevSimplified/L...
    🧠 Concepts Covered:
    - React function components
    - React hooks
    - State management in React
    - Prop drilling
    - How to use create-react-app
    🌎 Find Me Here:
    My Courses: courses.webdevsimplified.com
    Patreon: / webdevsimplified
    Twitter: / devsimplified
    Discord: / discord
    GitHub: github.com/WebDevSimplified
    CodePen: codepen.io/WebDevSimplified
    #Reactjs #WDS #JavaScript

ความคิดเห็น • 1.6K

  • @WebDevSimplified
    @WebDevSimplified  4 ปีที่แล้ว +135

    Make sure to checkout my full React course for more in depth explanations and projects with React. It is the best content I have ever created. courses.webdevsimplified.com/learn-react-today

    • @JUnderwoodViolin
      @JUnderwoodViolin 4 ปีที่แล้ว +1

      How often do you send out emails to your newsletter distribution?

    • @elabinnovations
      @elabinnovations 4 ปีที่แล้ว +9

      In India, it is 4000+ rupees 😭

    • @ProtikPC_pro_indigo
      @ProtikPC_pro_indigo 4 ปีที่แล้ว

      Nice one, practical and hands on.
      Take a look at this too --
      th-cam.com/video/-3G0LZlbUis/w-d-xo.html
      Simplified, very basic and from the ground up,

    • @joaoalegria7578
      @joaoalegria7578 4 ปีที่แล้ว +14

      Thank you so much for this crash course Kyle, I know the basics and took an udemy older course and the ammount of info you put in 27minutes is unreal. I would only recommend adjusting the variables names, for a beginner it must be incredibly confusing hearing and writing everything as "todos/todo", other than that well done my friend, after I get my 1st react dev job I will probably buy your course! :)

    • @4spuhrbar886
      @4spuhrbar886 4 ปีที่แล้ว

      Thx for the Video!

  • @mr_matata
    @mr_matata 3 ปีที่แล้ว +1100

    so many *Todo* that i don't understand what todo and what not todo
    "cries in todo"

    • @yashwanthcb
      @yashwanthcb 3 ปีที่แล้ว +26

      create a todo item of cry

    • @kendriip
      @kendriip 3 ปีที่แล้ว +34

      Are you sure crying is the right thing todo

    • @printchannel_name3371
      @printchannel_name3371 3 ปีที่แล้ว +25

      glad im not the only one Todo that

    • @kendriip
      @kendriip 3 ปีที่แล้ว +13

      @@FaithFrog same i dont even want to learn it anymore

    • @Priyanka-cy3zw
      @Priyanka-cy3zw 3 ปีที่แล้ว +1

      😂

  • @jardinek2121
    @jardinek2121 3 ปีที่แล้ว +427

    QUICK TIP: Make sure your playback is at least 1.5 times speed, if you want to become fluent in Todo language.

    • @bvaroni
      @bvaroni 3 ปีที่แล้ว +2

      lmao

    • @yechielbabani1726
      @yechielbabani1726 3 ปีที่แล้ว +1

      Lol

    • @simonlicman5166
      @simonlicman5166 2 ปีที่แล้ว

      i thought at first i will attempt this, but after few seconds of figuring out how big every directory is, i thought i rather wont

    • @floridadude7981
      @floridadude7981 ปีที่แล้ว +1

      I don't think were in Kansas anymore, todo... I mean todo.

    • @re8nifle
      @re8nifle ปีที่แล้ว +3

      The word "todo" has lost all meaning for me!

  • @lemargreen6049
    @lemargreen6049 3 ปีที่แล้ว +838

    Thank you, for taking the time todo this

    • @derekcoxii2771
      @derekcoxii2771 3 ปีที่แล้ว +30

      Underrated comment

    • @bennysmith4557
      @bennysmith4557 3 ปีที่แล้ว +33

      I heared todo like 2000 times

    • @trevoreedockery7922
      @trevoreedockery7922 3 ปีที่แล้ว

      haha

    • @vizulefllry
      @vizulefllry 3 ปีที่แล้ว +6

      It took me a little while to appreciate how good this comment is.

    • @ahmadasili7387
      @ahmadasili7387 2 ปีที่แล้ว +2

      @@bennysmith4557 what you wanna do is To do the Todo do doing

  • @robertn4996
    @robertn4996 ปีที่แล้ว +130

    I did struggle a lot to learn React. I wasted a lot of 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.

    • @WestyFilms
      @WestyFilms ปีที่แล้ว

      Head First is actually a great series to get your start in most programming / scripting languages.

    • @lukas.webdev
      @lukas.webdev ปีที่แล้ว

      Congratulations! 😉

  • @tigercore
    @tigercore 4 ปีที่แล้ว +1485

    The word Todo has lost all meaning

    • @sneezydeezymcdeluxe7015
      @sneezydeezymcdeluxe7015 4 ปีที่แล้ว +62

      I'm currently doing the watchandcode JS course, which also has me building a todo list. After I don't know how many hours, the word todo is just so weird to me now.

    • @woutjuh13
      @woutjuh13 4 ปีที่แล้ว +141

      Maybe they don’t know what else to do

    • @umeshkayastha1415
      @umeshkayastha1415 4 ปีที่แล้ว +7

      @@woutjuh13 lol

    • @jovialdeveloper3908
      @jovialdeveloper3908 4 ปีที่แล้ว +34

      Todo, I don't think we're in Kansas anymore.

    • @nslookup2011
      @nslookup2011 4 ปีที่แล้ว +10

      good to beginners like me, we can focus on learning React rather than designing app- i started with the full course, felt React is so complicated! just because the recipe book app is too many components to do

  • @PeterBernardin
    @PeterBernardin 3 ปีที่แล้ว +347

    Everyone here is complaining about how many todos he said I'm just here appreciating how clear he is when he explains!!

    • @Pearlescent800
      @Pearlescent800 3 ปีที่แล้ว

      Agreed with the two above!!!

    • @s941407
      @s941407 3 ปีที่แล้ว

      So true!!!

    • @mallikarjunhagargi7830
      @mallikarjunhagargi7830 3 ปีที่แล้ว

      Yes 100% true

    • @kamogelokhumalo4792
      @kamogelokhumalo4792 3 ปีที่แล้ว +5

      lucky you. I failed dismally at this one. Maybe this is not for me

    • @hil449
      @hil449 3 ปีที่แล้ว +16

      he explains well and the pacing of the video is really good but the naming is poor af

  • @X-13-X
    @X-13-X 3 ปีที่แล้ว +330

    In case anybody has problems with uuid. importing it like in the video didn't work for me. In the git repository it said to import it this way:
    import { v4 as uuidv4 } from 'uuid'
    That worked.

  • @nsharma4981
    @nsharma4981 4 ปีที่แล้ว +34

    There was so much of well explained info jam packed in 27 minutes! Definitely need time to absorb it all coming from just vanilla js, but wow Kyle! This was a great intro, and I loved how you covered soo many things and explained each of them too. As always, thanks a ton!

  • @garagavia
    @garagavia 3 ปีที่แล้ว +576

    I really like the speed and precision of this tutorial. A lot of tutorials are slow and not very concise. However the variable naming and overuse of the word "todo" made it way less simple than it could have been.

    • @JacobAuthier
      @JacobAuthier 2 ปีที่แล้ว +66

      todo todo todo

    • @CrazyPlumGaming
      @CrazyPlumGaming 2 ปีที่แล้ว +52

      Came here to say the same thing. Trying to differentiate between 4 different “todos” names and learning what each one does was very challenging.

    • @kodiak809
      @kodiak809 2 ปีที่แล้ว

      @@CrazyPlumGaming that's what you get when you skipping Javascript lessons, its easy to see it if you know basic javascript

    • @CrazyPlumGaming
      @CrazyPlumGaming 2 ปีที่แล้ว +30

      @@kodiak809 do you feel better now? That’s what you get “when you skipping English lessons”. It’s easy to type a reply when you know basic English.

    • @kodiak809
      @kodiak809 2 ปีที่แล้ว

      @@CrazyPlumGaming in what world is english lesson relevant to programming?

  • @hansschuijff
    @hansschuijff 2 ปีที่แล้ว +618

    Great lesson, but I had two problems with the code.
    1. the import of uuid should now say (according to their readme)
    import { v4 as uuidv4 } from 'uuid';
    2. There is a problem with the react.strictMode in that the code in de video doesn't restore the todos from storage correctly.
    Although removing strictmode solves it, I also watched your react hooks video in which you explain how to correctly call the setState functions and why it otherwise doesn't do what you might expect when called more than once.
    So it seems in this case the setTodos in the useEffect that initializes the todo's should say:
    setTodos( prevTodos => [...prevTodos, ...storedTodos] );
    instead of
    setTodos(storedTodos)
    After that change the function will restore the todos even in strictmode.

    • @AlanJaison1
      @AlanJaison1 2 ปีที่แล้ว +40

      You sir are a legend! was stuck on problem 2 for so long

    • @ourcore
      @ourcore 2 ปีที่แล้ว +11

      Thanks for the setTodos() fix, but mine has a bug where the todos are duplicated on their own, even with their IDs, when I update the code. Not sure if it's related to this

    • @ourcore
      @ourcore 2 ปีที่แล้ว +5

      @@zachboemer4008 Just disabling strict mode and using the original `if (storedTodos) setTodos(storedTodos)` fixed it for me

    • @suckerformimi
      @suckerformimi ปีที่แล้ว +7

      Why is this workaround necessary? I don't see how React is usable if this simple save and reload code doesn't work in strict mode.

    • @timothy3882
      @timothy3882 ปีที่แล้ว +1

      thanks to you

  • @NaturalHattie
    @NaturalHattie ปีที่แล้ว +12

    Wow, this is so convoluted for no reason. Perfect example for why meaningful variable names are important.

    • @InfectedEnnui
      @InfectedEnnui ปีที่แล้ว

      what's convoluted?

    • @NaturalHattie
      @NaturalHattie ปีที่แล้ว +7

      @@InfectedEnnui todo todo todo todo, everything is named todo

  • @hmleao
    @hmleao 2 ปีที่แล้ว +4

    Man... it's amazing the way you explain things. I've had my fair share of courses that are almost only "see me doing and copy". But you actually explain stuff even though your lessons are still quick. Congratulations, really beautiful stuff.

  • @cptCrax
    @cptCrax 3 ปีที่แล้ว +33

    This was exactly what I needed! Thank you! I think the best part was the careful order in which you introduced things -- one complication at a time with a simple description of how we handle it in React. This format worked really well for me.

  • @STUPIDYOUTUBE_HIDINGMSGS
    @STUPIDYOUTUBE_HIDINGMSGS 4 ปีที่แล้ว +67

    One of my TODOs is to learn React. cheers

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

      This dude is horrible teach...horrible tutorial. Folks there are WAAAY better tutorials from folks that make it way easier and don't intentionally try to make it hard.

  • @2ru2pacFan
    @2ru2pacFan ปีที่แล้ว +10

    I'm in a Bootcamp and I've learnt from your one video than I did in a whole week! No doubt your the best teacher when it comes to the Web 🔥

  • @KETANRAMTEKE
    @KETANRAMTEKE 3 ปีที่แล้ว +218

    Amount of topics packed in this 30 minutes is impressive

    • @r_lonef
      @r_lonef ปีที่แล้ว

      these

    • @WantOxide
      @WantOxide ปีที่แล้ว +5

      Also the amount of useless stuff is great

    • @reactexpress
      @reactexpress ปีที่แล้ว

      +1

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

      ​@@WantOxide Is useLess also a react hook?

  • @GigaWarTrex
    @GigaWarTrex 4 ปีที่แล้ว +6

    I blindly started working on a React Project yesterday as it‘s the way I often learn programming languages. Even though I was on a good way I turned to TH-cam for a bit more help as it was getting very tedious. This was so great, you explained so many concepts and mechanics in such short time! Thank you for making my WebDev World a bit brighter :D

  • @stricklybisnez3296
    @stricklybisnez3296 4 ปีที่แล้ว +26

    I was doing good until minute 18 everything went side ways and i realized i wasn't sure what i was doing
    thanks for the introduction to these concepts im sure in the future it will help me recognized patterns in react use

  • @I_Am_McZee
    @I_Am_McZee 4 ปีที่แล้ว

    One of the best breakdowns I have seen in a while. Straight to the point and not just coding harp hazardly

  • @steff4602
    @steff4602 3 ปีที่แล้ว +4

    This was everything I’ve been trying to understand the past few days in one video!! Thank you so much!

  • @yogajourney9519
    @yogajourney9519 3 ปีที่แล้ว +29

    Thank you for the helpful video. As others suggested, it might be a good idea to use more variety when naming the variables, components, etc. to help out beginners (like myself) who easily get confused. I still found this very helpful, so thanks!

  • @audriusbaranauskas6498
    @audriusbaranauskas6498 3 ปีที่แล้ว +11

    Great tutorial. No "just copy this code, because it would take too long to explain" parts. Solid delivery on what is promised.
    I've been scouting the interwebs for a few hours trying to grasp react and this is what made it click for me.

  • @AeroPR
    @AeroPR 3 ปีที่แล้ว +2

    Amazing example. Finally React starts to make sense to me. For other beginners, you must have already taken full JS, HTML and CSS courses, know how a basic ToDo app is built without React, then put this video on 0.75x. Then things will start to make sense and you would be able to follow.

  • @lacherdaniel
    @lacherdaniel 4 ปีที่แล้ว +194

    take a shot everytime he says todo

    • @The_Soup_Master
      @The_Soup_Master 4 ปีที่แล้ว +13

      No thank you, I would like to live.

    • @kosemekars
      @kosemekars 3 ปีที่แล้ว +6

      Am now an alcoholic

    • @ashleywilkonson386
      @ashleywilkonson386 3 ปีที่แล้ว +3

      That wasn't a good idea, I am writing this from heaven.
      JK!
      In hell.

    • @silentxcure
      @silentxcure 3 ปีที่แล้ว +1

      @@ashleywilkonson386 you really weren't supposed "to do " that

    • @ff-tg2vy
      @ff-tg2vy 3 ปีที่แล้ว

      not everyone is alcoholic homeless piss of shit

  • @ZakkPanzermensch
    @ZakkPanzermensch 4 ปีที่แล้ว +654

    1. TODO
    2.
    TODO
    3. TODO TODO TODO TODO TODOOO
    (pink panther theme)

    • @casual_chess
      @casual_chess 4 ปีที่แล้ว +10

      Lmaoooo😂😂

    • @실험맨
      @실험맨 4 ปีที่แล้ว +2

      Just following

    • @RudraDirtTrails
      @RudraDirtTrails 4 ปีที่แล้ว +3

      The fuck 😂😂😂

    • @1randumbguy
      @1randumbguy 4 ปีที่แล้ว +6

      this video is useless due to all of the 'todos'...he should make them unique so a person can understand what is what...

    • @dharmang
      @dharmang 4 ปีที่แล้ว

      🤣🤣🤣🤣👌🏻

  • @birbcoding
    @birbcoding ปีที่แล้ว +7

    If you are watching this now in 2022, after npm i uuid
    you need to do
    import {v5} from "uuid";
    and use v5() function in id:

  • @sohailfx
    @sohailfx 3 ปีที่แล้ว

    The best tutorial to understand the react js, voice is very clear and confident. instead of learning i was trying to learn his style of speaking. Very clear and profound.

  • @ThomasKupracz
    @ThomasKupracz 2 ปีที่แล้ว +2

    Great overview. Thank you for this tutorial. The amount of stuff you cover in 30 mins is sick!!!

  • @peteraliciastuart5807
    @peteraliciastuart5807 ปีที่แล้ว +8

    This was my first bash at React! Great tutorial & well explained. Now I have a million other questions but will get to know the framework better as I use more! Will defos subscribe!!! Merry Christmas from Scotland :)

  • @allanjunli
    @allanjunli 4 ปีที่แล้ว +3

    This is jam-packed React and JavaScript goodies. Thank you for sharing. Learned a lot in 30 minutes.

  • @rishabhnagar5883
    @rishabhnagar5883 2 ปีที่แล้ว

    A must watch video for a beginner in react. You made it very easy to understand. All your videos are so clear and to the point. Thank you man!

  • @HosseinRooholamini
    @HosseinRooholamini 2 ปีที่แล้ว

    Great instructor, clear words with a clear voice. not too fast not too slow. the best possible speed. Thanks

  • @SameenIslam
    @SameenIslam 4 ปีที่แล้ว +470

    A decent tutorial ruined by poor variable naming choices. Calling every variable ‘todo’ doesn’t help simplify data flow related concepts to beginners. Hopefully you’ll take this into account in future vids.

    • @marknguyen606
      @marknguyen606 4 ปีที่แล้ว +28

      my head hurts.. i had to pause to see where it all connects.

    • @shangshi6286
      @shangshi6286 4 ปีที่แล้ว +30

      @@marknguyen606 I think he is too fast, if he slows down and explains every data flow like we are idoits, that way is better and more clear.

    • @kirarevcrow
      @kirarevcrow 4 ปีที่แล้ว +15

      You got a major point. I stopped watching the moment I started hearing the word todos every single second. Most channels of this type create a content but don't actually put themselves in an audience perspective.

    • @luisaceo00
      @luisaceo00 4 ปีที่แล้ว +7

      Absolutely agree. Perhaps a better approach would have been to use suffixes e.g. todo_prop, todo_item or something among those lines.

    • @StorybookFantasia
      @StorybookFantasia 3 ปีที่แล้ว +1

      @@shangshi6286 ..you can reduce the play back speed !!

  • @uxlordsimplifyingdesignpro5544
    @uxlordsimplifyingdesignpro5544 4 ปีที่แล้ว +27

    This video was so helpful to me. I’m a ux /ui designer and was working to study typescript and react. This video got me understand the basics. Thanks for making this! 🙏

  • @abqsky5338
    @abqsky5338 4 ปีที่แล้ว

    Dude, thank you!
    Your first 5 minutes of the video helped me in understanding compiling. You're excellent in explaining things.

  • @timstern1540
    @timstern1540 2 ปีที่แล้ว +150

    Small thing I ran into: When trying to load tasks from storage be sure you do not have React.StrictMode enabled. It will cause the useEffect block to run twice which will prevent tasks from reloading correctly.

    • @bladex9061
      @bladex9061 2 ปีที่แล้ว +10

      That was really helpful! Thanks! was stuck at this part for about 2 hours, checking through my code and wondering why!!

    • @erkinylmaz7661
      @erkinylmaz7661 2 ปีที่แล้ว

      @@bladex9061 same!

    • @theaceforum
      @theaceforum 2 ปีที่แล้ว +6

      you saved me like 2 hours of troubleshooting

    • @suti1979
      @suti1979 2 ปีที่แล้ว +6

      4 hours of troubleshooting...

    • @andresayala9640
      @andresayala9640 2 ปีที่แล้ว +4

      I removed the React.StrictMode in index.js but it is still preventing the tasks from loading... not sure what could be wrong

  • @Matin1999_unique
    @Matin1999_unique 3 ปีที่แล้ว +5

    i can't even speak in my mother language for 5 minutes without any pause or a little bit stutter while speaking fast.
    big applause to this guy for talking not only smoothly but also doing that for about 30 minutes.
    wow.

  • @franjomaric7913
    @franjomaric7913 2 ปีที่แล้ว +15

    In case someone else is having issues with importing uuid as he did in example(for me it didn't work), here is how it worked for me
    import { v4 as uuidv4 } from 'uuid';
    Great tutorial btw

  • @hexerous
    @hexerous 2 ปีที่แล้ว +1

    Thank you Kyle, I'm proud to say I've learned the basic concepts and hooks of React in a day because of you! Thanks.

  • @krystaladeoye2911
    @krystaladeoye2911 2 ปีที่แล้ว

    This was very helpful. Kyle, you are a gifted teacher, breaking down concepts so people can understand. Thank you!

  • @DamianTew
    @DamianTew 3 ปีที่แล้ว +8

    Your videos are great. I'm quite new to programming and I find the level of detail excellent. You explain the parts many others skip, and actually show how things work. Thanks for making these!

  • @shinichi9do
    @shinichi9do 4 ปีที่แล้ว +130

    my ear tired hearing 'to do' 😂😂

  • @learnMoreToCode
    @learnMoreToCode ปีที่แล้ว +1

    Thank you so much for creating this video. This saved me tons of time to learn react in a short period of time.

  • @stephanevermette5645
    @stephanevermette5645 3 ปีที่แล้ว

    This is an excellent 20K foot overview to get the basics and move on to more in-depth material later.

  • @kose241
    @kose241 4 ปีที่แล้ว +46

    Great video, one thing to note if anyone made the same mistake, the useEffect function that saves the state to local storage must be placed below the useEffect function that retrieves the existing/previously stored state. Otherwise, you'll have the useEffect function that sets the current state set it to empty(since it hasn't retrieved the local todos) and you're saved todos won't show on refresh.

    • @jamegumb77
      @jamegumb77 3 ปีที่แล้ว +4

      Thanks this saved me

    • @kiwi-el-gato9007
      @kiwi-el-gato9007 ปีที่แล้ว

      Thank you so much, thought it was a strict mode issue but this fixed it.

    • @shree4641
      @shree4641 ปีที่แล้ว +2

      I had already placed it below the getItem useEffect but still it saves empty [] to todos, for this i had added an if(todos != " ") condition before the setItem line and it solved the issue. You can try this.

    • @gregjacobs189
      @gregjacobs189 ปีที่แล้ว

      @@shree4641 thanks that worked

    • @tenzindala457
      @tenzindala457 ปีที่แล้ว

      Oh God you saved me

  • @keithlamontdavis8047
    @keithlamontdavis8047 4 ปีที่แล้ว +15

    This was a great lesson. Excellent, clear and direct teaching. Thank you.

  • @jiauyjiauy3777
    @jiauyjiauy3777 2 ปีที่แล้ว

    Thank you, dude! Even though the process of creating a react app has changed a little bit, I actually was able to run it! I've watched a couple of videos on the Internet but it's only you who helped me out! Thanks!

  • @bwandesky
    @bwandesky 2 ปีที่แล้ว

    One of the best intro to react videos I've come across so far.

  • @ANILKHANDEI
    @ANILKHANDEI 4 ปีที่แล้ว +11

    Thanks for creating such premium content for free. I have learnt a lot of important web dev concepts from your videos. This is short and simple intro to React. I like this one.

  • @hondajacka2
    @hondajacka2 ปีที่แล้ว +3

    Great tutorial! Very succinct and clear :)

  • @subliminakeys1674
    @subliminakeys1674 ปีที่แล้ว +1

    This is great. Side note for unique ids when using keys. Another video had me take the todolist array length, find the number of the last item in the array and add 1 to it's id for new todos. This seems easier than the random key generator option but I'm sure the key generator is better for other scenarios .

  • @enpassant7358
    @enpassant7358 ปีที่แล้ว

    Excellent Tutorial! I found it to be so helpful just to watch someone quickly create a simple app. It really helped me put the pieces I've been learning into perspective.

  • @CodeInspire
    @CodeInspire 3 ปีที่แล้ว +3

    Everything was great before I start reading the comment. Now. I just hear todo, with todo, does todos :)
    Thanks for the video :)

  • @cj19820508
    @cj19820508 2 ปีที่แล้ว

    Best ever! 30 mins react tute in youtube! thank you very much! take my word for this is the best video !

  • @alexshemwell8320
    @alexshemwell8320 2 ปีที่แล้ว

    Great video my man. I really appreciate that you made this great intro free of charge.

  • @kamel3d
    @kamel3d 2 ปีที่แล้ว +25

    As a dev you should have used better names instead of calling everything todo

  • @tyland777
    @tyland777 4 ปีที่แล้ว +80

    The word todo was use so many times. I got lost. Should have used another word when it was possible. Didn't watch til the end

  • @simiyutube
    @simiyutube 3 ปีที่แล้ว

    Thanks Kyle. I always enjoy your tutorials. Not sure why I never coded along on this one but done now.

  • @joecucco4132
    @joecucco4132 2 ปีที่แล้ว

    You're so awesome, intelligent, and well spoken bro. Thank you for all of your help. I've learned so much from your channel and you've helped me get through school! React is so much easier if you know how to write raw HTML, CSS, and JS. Thanks for explaining the information in a way that everyone can understand.

  • @marcodimario9918
    @marcodimario9918 4 ปีที่แล้ว +7

    A-W-E-S-O-M-E teacher. Congrats!!!

  • @ShujathHussain0
    @ShujathHussain0 4 ปีที่แล้ว +7

    Another Awesome video!
    Note :
    Viewers have some knowledge on react components, Props & hooks to understand the code

  • @knlsha
    @knlsha 3 ปีที่แล้ว +1

    Amazing work there. I just tried to play in 0.75x as I was watching and doing at the same time. This helped big time, thank you so much!

  • @hakata8889
    @hakata8889 3 ปีที่แล้ว +2

    Ty so much, I just know basic html, css and js and react was always something confusing and scary.. But this rlly helped me understand react a lot more

  • @eiderarango5863
    @eiderarango5863 4 ปีที่แล้ว +4

    Man thank you so much, I hope to see a complete React course coming quite soon, I like how you explain complex things.

    • @WebDevSimplified
      @WebDevSimplified  4 ปีที่แล้ว +2

      I already have a complete React course on my website linked in the description.

    • @manishmodi8662
      @manishmodi8662 3 ปีที่แล้ว

      Kyle is there a coupon code you have handy for your course?

  • @anishjoshi1999
    @anishjoshi1999 3 ปีที่แล้ว +7

    Alert: while importing uuidv4 use this code instead:
    import { v4 as uuidv4 } from 'uuid';
    it works well !!

    • @Enchansea
      @Enchansea 3 ปีที่แล้ว +1

      Thank you so much! This helped!

    • @flopasen
      @flopasen 2 ปีที่แล้ว

      This comment should be right at the top

  • @8xnnr
    @8xnnr ปีที่แล้ว

    Man I really appreciate these guides , you do a great job of explaining.
    The only criticism I have is that at one point in the video my mind went blank from all of the "Toodos" and I just stared at the computer screen for a good solid minute trying to figure out what reality I am in.

  • @contractorwolf
    @contractorwolf 3 ปีที่แล้ว +1

    this is great, I am a C# dev that has recently been working a lot in Vue and wanted to learn more about React. Learned a ton in this video, excellent tutorial!

  • @AlexTechie
    @AlexTechie 4 ปีที่แล้ว +48

    I bet the word "task" was at the tip of your tongue the whole time while making this video. 😉 Side note: the variables/object names are way too similar, making it tough to keep track of what they represent. We still appreciate the video, though. 👍❤

  • @ElMocoo
    @ElMocoo ปีที่แล้ว +3

    I’m going to make a tutorial on React… todotodotodotodotodotodo

  • @vengateshm2122
    @vengateshm2122 3 ปีที่แล้ว +2

    That's mind boggling explanation?
    I can explain back even in sleep. Kudos to you

  • @TheShaddy15
    @TheShaddy15 2 ปีที่แล้ว +2

    So much to learn, I think I'll put this on my Todo list.

  • @samiam.402
    @samiam.402 2 ปีที่แล้ว +23

    If anyone started having errors after import "uuid" it turns out the way to import has been update slightly. Now import it with "import {v4 as uuidv4} from 'uuid'" and I was able to run my script again. Hope that helps someone out there.

    • @TheFryPo
      @TheFryPo 2 ปีที่แล้ว +2

      Yup came to write the same thing. Glad someone already pointed it out ! Thank you :D

    • @niklasthielen5508
      @niklasthielen5508 2 ปีที่แล้ว +1

      thanks man!

    • @MaiaEssmeralda
      @MaiaEssmeralda 2 ปีที่แล้ว

      Oh THANK YOU!

  • @oracleking4252
    @oracleking4252 4 ปีที่แล้ว +9

    How the eff did you learn all this with only one head?
    This will be my foundational video for learning react.

  • @alishajamadar603
    @alishajamadar603 4 ปีที่แล้ว +1

    Thank you so much for explaining so well in such short time.

  • @Double_T_G
    @Double_T_G ปีที่แล้ว

    Just the crash course I needed. Thank you so much!

  • @m.haydar.mosawi
    @m.haydar.mosawi 4 ปีที่แล้ว +7

    I have a question, why did you use useRef to get the input value while you can access it from event.target.value ?
    Thank you for the tutorial, you make the useEffect more clear to understand, really thanks.

    • @Zestyyy28
      @Zestyyy28 4 ปีที่แล้ว +5

      While it's true that 'e.target.value' can be used to grab the value of an input element, he's applying the event listener to the button element instead of the input element. When the user clicks on the 'Add Todo' button, the button element is what 'e' would be referring to when it's passed into the 'handleAddTodo()', thus, 'e.target.value' wouldn't give the input value since that value comes from the input element and not the button element.

  • @yojona
    @yojona 4 ปีที่แล้ว +321

    Video speed 2X: Learn React in 15 minutes ;)

    • @vik8860
      @vik8860 4 ปีที่แล้ว +74

      that would be an example of what not "to do".

    • @mounirmoutawakil1078
      @mounirmoutawakil1078 4 ปีที่แล้ว +2

      Lmao

    • @patrickwalsh9444
      @patrickwalsh9444 4 ปีที่แล้ว +3

      1.25x ain't so bad, just sayin 😁

    • @dynerushd7517
      @dynerushd7517 4 ปีที่แล้ว +12

      Install video speed controller and put it to 10x to "Learn React In 3 Minutes"

    • @nemethricsi
      @nemethricsi 3 ปีที่แล้ว

      @@patrickwalsh9444 Learn React in 24 minutes! :)

  • @ericstoll6912
    @ericstoll6912 3 ปีที่แล้ว +1

    This video is freaking awesome... I just followed it and it is just plain perfect. I'm buying the course now even with Argentina's Exchange Rate...

  • @jonasstrabel
    @jonasstrabel 3 ปีที่แล้ว

    Thank you! Most important things explained quickly with examples! Exactly what I needed!

  • @srinivasnahak3473
    @srinivasnahak3473 4 ปีที่แล้ว +13

    You're an amazing teacher with amazing hair.....😃

  • @Mrstealurgrill
    @Mrstealurgrill 4 ปีที่แล้ว +3

    Hi Kyle, I know you didnt have a lot of time to explain but something that really confused me was how you could use the line const [todos, setTodos] = useState([]) to create an Array variable todos and a function setTodos(). Throughout the video you keep using setTodos as a function but it's not classically defined. So I kept looking for the setTodos function we didnt write. I guess it's time to buy that full course to understand useState()...

    • @nsharma4981
      @nsharma4981 4 ปีที่แล้ว

      I had exactly the same doubt in my first viewing. However he defines what setTodos does with that todos = [...prevTodos, newTodo] part, which struck me when I rewatched that bit. But yes, it is definitely confusing at first

  • @SergioArroyoSailing
    @SergioArroyoSailing 4 ปีที่แล้ว

    great quick dive into REACT! good of you to explain the todos props at @11.05 . It's a lot better using different names for different items. imho . Your're a great teacher.! keep them coming! :)

  • @jonsnow7844
    @jonsnow7844 3 ปีที่แล้ว

    Bravo Sir! This is just the right amount of jumping in the deep end and explanatory tutorial. As a semi experienced programmer I found this video to be a just right in terms of scope. Yes some things I didn't understand, but that's okay because I can look them up and watch this video twice. The only thing that was missing was a barebones description of what IS React, but like I said, that's okay. I watched a different 5 minute introduction video and came back.
    I'm gonna try to implement your script. Let's see how that goes! lol

  • @candym5280
    @candym5280 2 ปีที่แล้ว +3

    I loved this tutorial. I start my first IT job on Monday (so excited!), so I'm doing projects to refresh some stuff, and your video was so helpful!
    PS: i followed a lot of your videos while learning and you're the best!

    • @farter134
      @farter134 2 ปีที่แล้ว +2

      How is the new job🎉?

    • @candym5280
      @candym5280 2 ปีที่แล้ว +1

      @@farter134 it's great!! The office is amazing, they let us wear slippers to work lol 😂

    • @logarithm0
      @logarithm0 ปีที่แล้ว

      @@candym5280 how is that possible?

  • @SirXtC
    @SirXtC 4 ปีที่แล้ว +6

    oh man, i was starting to get it at the beginning but there were so many todos thing it just got super confusing.

  • @pravin1877
    @pravin1877 3 ปีที่แล้ว

    Thank you so much, really appreciate efforts you have made to make this tutorial and try to explain most of the concept with help of live example. Thanks a ton!!!

  • @dan110024
    @dan110024 3 ปีที่แล้ว

    Man you do your videos well. Even just explaining how to setup in VSC and what all of the files are.

  • @skapha
    @skapha 4 ปีที่แล้ว +3

    The Best Teacher on the YT at this moment!

  • @confessor3380
    @confessor3380 ปีที่แล้ว +3

    For those using this in 2023, this tutorial is still mostly valid BUT since it's react 18 ReactDOM.render() isn't supported and you have to use
    const root = ReactDOM.createRoot(document.getElementById('root'));
    root.render(

    );

  • @victornaut
    @victornaut 3 ปีที่แล้ว

    Thanks once again!
    (It does help a lot to be used to this sort of teaching pace, but still totally doable)

  • @chandikalakshan468
    @chandikalakshan468 3 ปีที่แล้ว

    A very good and quick explanation of React basics. That's very important for my career. Thank you for the tutorial.

  • @prajwaldeepkhokhar7416
    @prajwaldeepkhokhar7416 4 ปีที่แล้ว +45

    9:30 min and am already completely lost pulling my hair. I wanna die

    • @keerthanaanandan6062
      @keerthanaanandan6062 4 ปีที่แล้ว +6

      So am I😭.it's been three months since you posted this comment,are you a react dev now ?????

    • @nemethricsi
      @nemethricsi 3 ปีที่แล้ว +1

      If you wanna understand how useState works (and you know JS) check this vid out. (the first half):
      th-cam.com/video/1jWS7cCuUXw/w-d-xo.html

    • @chubbyBunny94
      @chubbyBunny94 3 ปีที่แล้ว +1

      I gave up

    • @chubbyBunny94
      @chubbyBunny94 3 ปีที่แล้ว +1

      @Nickolas Gettel what software know how do
      Have under your belt?

    • @prajwaldeepkhokhar7416
      @prajwaldeepkhokhar7416 3 ปีที่แล้ว +2

      @@keerthanaanandan6062 it's been 6 and am still lost af LMAFOOOOOOO

  • @Joseph-qb1es
    @Joseph-qb1es 4 ปีที่แล้ว +4

    Buy his react course. NOW!

  • @musavilileon4916
    @musavilileon4916 ปีที่แล้ว

    Best react video. Precise, information dense & perfectly curated.

  • @mahmoudiamir
    @mahmoudiamir 2 ปีที่แล้ว

    My man... You saved my ass a ton of time, this is what i need to learn react, all in 30min...
    I really appreciate

  • @m0nster488
    @m0nster488 2 ปีที่แล้ว +4

    "And now what you have to do is to make a todolist that todo is todo tOdO todODOtoTOdotO"

  • @00el04
    @00el04 3 ปีที่แล้ว +3

    this has got me so confused, do you have another simple project without using the word todo so many times lol :)

  • @leerenae313
    @leerenae313 3 ปีที่แล้ว

    Wow thank you so much for this! It has given me a better understanding of React.

  • @piyushaggarwal5207
    @piyushaggarwal5207 2 ปีที่แล้ว

    I am not a react beginner. Was just watching while eating and really learned a few new stuff. Thanks!