Learn React With This One Project

Поділитися
Вставка
  • Опубліковано 19 чер 2024
  • React Simplified Course: reactsimplified.com
    Learning React is hard. There are so many concepts to learn and mindsets shifts that you need to do. That is why in this video I will be breaking down all the most important concepts you need to understand in React.
    📚 Materials/References:
    React Simplified Course: reactsimplified.com
    GitHub Code: github.com/WebDevSimplified/r...
    FREE React Hooks Simplified Course: courses.webdevsimplified.com/...
    ES6 Modules Video: • JavaScript ES6 Modules
    ES6 Modules Article: blog.webdevsimplified.com/202...
    Destructoring Video: • Why Is Array/Object De...
    Destructoring Article: blog.webdevsimplified.com/202...
    Short Circuiting Video: • If You Don’t Understan...
    Short Circuiting Article: blog.webdevsimplified.com/201...
    🌎 Find Me Here:
    My Blog: blog.webdevsimplified.com
    My Courses: courses.webdevsimplified.com
    Patreon: / webdevsimplified
    Twitter: / devsimplified
    Discord: / discord
    GitHub: github.com/WebDevSimplified
    CodePen: codepen.io/WebDevSimplified
    ⏱️ Timestamps:
    00:00 - Introduction
    01:10 - What Is React
    02:45 - Thinking In React
    06:07 - Todo List Project Setup
    10:45 - JSX
    15:30 - React State
    20:15 - Todos Logic
    30:45 - Break App Into Components
    38:15 - useEffect Hook
    #ReactJS #WDS #JavaScript

КОМЕНТАРІ • 535

  • @WebDevSimplified
    @WebDevSimplified  Рік тому +52

    React Simplified Course: reactsimplified.com

    • @niconel7659
      @niconel7659 Рік тому +5

      Any update on when you will release your course?

    • @md-gy7gu
      @md-gy7gu Рік тому

      I am not getting ads in your UA-cam channel. Did you forget to monetize the channel?

    • @ninnin253
      @ninnin253 6 місяців тому

      I do not understand why the function name "toggleTodo" return { ...todo, completed} in stead of { ...todo, completed:completed} ? because the e.target.checked return only true or false, then when we set the object property we need to specify the key, not just passing true or false, isn't it? Am I missing something?

    • @winzkk8745
      @winzkk8745 3 місяці тому

      @@ninnin253 That's the shorthand syntax for JavaScript

  • @luisrodrigues6211
    @luisrodrigues6211 Рік тому +291

    I always wanted to learn React over my lunch and get promoted in the afternoon 😁

    • @D7460N
      @D7460N Рік тому +12

      40 minutes for lunch is nice!

    • @dejandejanovic472
      @dejandejanovic472 Рік тому +3

      Hahahhah

    • @ichiroutakashima4503
      @ichiroutakashima4503 Рік тому +5

      Me: You guys get a lunch break...!?

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

      Wait...u have a job without learning react?...what job

    • @rl6382
      @rl6382 11 місяців тому

      ​@@michaelsazz3545a blowjob, he gives them for free

  • @kevinvikan3609
    @kevinvikan3609 Рік тому +507

    I did struggle a lot to learn Rеact. A lot of time that I wasted.
    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.

    • @shapelessed
      @shapelessed Рік тому +10

      If you only started out with Svelte you would have known to not touch React with a 5 meter stick...

    • @michaelsazz3545
      @michaelsazz3545 Рік тому +14

      No offense but no one asked about the book tho 🌚

    • @kratospidey
      @kratospidey 11 місяців тому +20

      @@michaelsazz3545 I did :)

    • @pacmandd8652
      @pacmandd8652 11 місяців тому +14

      @@michaelsazz3545 I did also ask for the book ;)

    • @d-slice9064
      @d-slice9064 11 місяців тому +1

      Thanks @kevinvikan3609 for the information it certainly helps!!

  • @TinyMaths
    @TinyMaths 10 місяців тому +19

    Thanks for the tutorial; I've had to go over this several times, because, as others have mentioned in the comments, there is so much information in this tutorial. But things are making sense now. I love the fact that deleting elements is much simpler to do in React than in vanilla JS, just filter out the array element and it's gone after re-render. Looking forward to re-building some of my portfolio apps with React

  • @stormybear4986
    @stormybear4986 Рік тому +7

    Just when I think you couldn't get any more awesome, you come along and blow my mind again! Kyle, you, sir, are THE MAN!!!!

  • @ChrisBiddleGuitar
    @ChrisBiddleGuitar 8 місяців тому +12

    Thank you Kyle, for this video! React's component driven approach is quite a shift from the top-down MVC architecture I'm used to. After about six weeks, though, of madly picking apart tutorial examples, getting a handle on hooks, and creating my own little "Frankenstein" React projects , things are finally starting to come together.

  • @clnguye
    @clnguye Рік тому +78

    This tutorial is incredible. So many concepts in 40 minutes. For beginners, have a good grasp of JS function and how it's being passed around as if it's object. Thanks Kyle

  • @alejosiri8799
    @alejosiri8799 11 місяців тому +14

    Simply amazing! I've watched a few more React videos but, even though they started from basics, they quickly jumped to a huge code which I wouldn't even be close to reproduce on my own. This video, instead, gave me clear use of state, hooks, modularization and basic structure. Great course!

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

    Duuude! you are seriously one of the best Educators on this platform in regards to web development. Clear, concise, simple and engaging. I enjoy following your videos for projects, and always find myself picking one of yours. Thank you for your community contribution!

  • @mondlimkhanyiswa1206
    @mondlimkhanyiswa1206 10 місяців тому

    This is wonderful. Some of the stuff I struggled with were made so easy to under understand in this video (e.g. I was not aware you could pass functions through props). Man. You are a start. Thank you

  • @adriaancanter4573
    @adriaancanter4573 Рік тому +7

    Great video, new to React and this channel - this is a well thought out example that really helps explain the concepts to a beginner , esp. the eventing/state and the component model all in one go - thanks very much!

  • @bytecrust
    @bytecrust Рік тому +42

    I love how you dive right into features of React, making it clear why it is useful! I tried watching through the 12 hour freeCodeCamp React video, but by hour 4 I was thinking, "what is the point? This seems like so much more work for what I can already accomplish with JS."

  • @mailsiraj
    @mailsiraj 10 місяців тому +6

    Kyle, what a wonderful video - though I knew almost everything you were covering, there are many subtle ideas I grasped from your course that deepened my understanding of how React works. Your take on when to call setState with a function was definitely very insightful. I really loved the way you refactored your code and brought out props as a natural need - thank you so much.

  • @PostMasterNick
    @PostMasterNick Рік тому +6

    This was really great. I know JS and am familiar with Typescript and React. I was able to follow along in this tutorial and convert the JS to TS and get it all working! Super stoked and feeling like a I got a lot out of it.

  • @orion6831
    @orion6831 11 місяців тому +1

    I just finished watching this video and I have to say, it was incredibly helpful! The explanations were clear and concise, and I feel like I have a much better understanding of useState now. Thank you so much for sharing this valuable content.

  • @justinekenyansa
    @justinekenyansa 11 місяців тому

    thank you Kyle! I went through this guide and refreshed a few concepts. Short and straight to the point!

  • @gsolomonuk
    @gsolomonuk 6 місяців тому

    Loved this condensed "Crash Course" format, learned so much in very little time, much appreciated

  • @hamadamek
    @hamadamek 11 місяців тому +3

    Beautiful. Took me 5 days to follow step by step and build it in parallel and try to do things in a different way. Learned a lot about events, which I misunderstood initially

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

    Hell yeah Kyle, this is a fantastic video showcasing all the important concepts of React.

  • @regnulify
    @regnulify 9 місяців тому +1

    Great video! I haven't done react in over a year and this was a perfect refresher!

  • @theisoj
    @theisoj Рік тому +12

    Awesome tutorial! Thanks Kyle as always! 👍

  • @monkey_scherzo7602
    @monkey_scherzo7602 11 місяців тому +8

    I'm a react frontend developer, but whenever I watch your videos there's always something new I learned. Thanks so much for details things out Kyle!

    • @user-hr2ye6tf8x
      @user-hr2ye6tf8x 9 місяців тому +1

      Where did you started learning react give some tips I'm absolutely beginner

  • @OJRO-xp2ip
    @OJRO-xp2ip 11 місяців тому +4

    For people like me who is not new to programming. This is incredible tutorial. Saved tons of time.

  • @Beny123
    @Beny123 11 місяців тому

    I have got your React Simplified course . And I know React enough to build an app but this crash course is good for review and consolidating the essential concepts . Thanks!

  • @MyChannel-kq4dv
    @MyChannel-kq4dv 5 місяців тому +28

    Thanks! As a 1-month React developer, this video is amazing!
    for all the people who want to understand React basics for the first time, I low-key think the explanations are too fast

    • @MichaelDavins-id7vx
      @MichaelDavins-id7vx 3 місяці тому +2

      yep but perfect for experienced programmers

    • @miguelbautista3628
      @miguelbautista3628 3 місяці тому

      I agree, this could overwhelm you as a first timer, but if you've got some experience and still feel like you don't understand react, I think it's great.

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

    This video has been a literal life saver. Thank you mate, seriously.

  • @akifahmed9610
    @akifahmed9610 Рік тому +3

    Appreciate your work , looking forward to more project based content for learning

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

    It's one awesome video! I have learnt more here than other videos. You have explained so much that I was able to understand your all code. For me, the hardest part it comes when I try to build a simple application by myself. It takes me a lot of times that I have to think what and when I should first do. I'd love to hear some advice from you.
    Thank you, greeting from Poland!

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

      Hi, Its part of the learning journey don’t get frustrated keep working on project that you “love” and care about just don’t get frustrated or discouraged after watching other senior devs figure out the things quickly. Don’t compare yourself with senior devs instead compare yourself with your own past self to feel motivated. Don’t give up anon!

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

      @@degenyakuza man! thanks you for kind words! i am appreciate it!

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

      The way to get over this is to begin diagramming in word, plaintext in a .txt file exactly what your project is and what it should do. First a high level description, then break down each part into a more precise description, then finally (in words) the logic for how you will build each part. Then code it up by following the steps you wrote out. The key is to separate the logic of the app from the actual writing of the code, this ensures that the task never becomes overwhelming. Good luck!

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

    You have made learning React so easy and less SCARY. Thank you so much.

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

    One of the best getting start with React on UA-cam... Good Job~

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

    Well explained. I'm new to React and this is my first video. I now feel like an experienced React Developer 💯👍💪

  • @whiskers08spot09
    @whiskers08spot09 3 місяці тому

    I like how I'm trying to code along and I'm attempting to code ahead of you, and every time i run into a certain mistake, you address it xD.
    Just goes to show how experienced you are at this.

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

    Excellent tutorial. Covers important things that I need to know when just starting out!

  • @_Kunal_Pawar
    @_Kunal_Pawar 5 місяців тому +1

    I really learnt a lot from watching this video over and over. Many thanks! ❤

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

    Thank you so much great revamp on React after 9 months working with Vue

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

    Thank you, very nice video that focuses on the essentials, keep up the good work!

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

    a very good refresher, last I coded in react was almost a year ago, I guess this basics react concepts hasn't change that much

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

    Big fan from South Africa, Thank you for teaching us, I have learnt a lot from you, I basically learnt everything from your channel, Please come to South Africa

  • @megumin.
    @megumin. Рік тому +1

    i'm a junior fullstack, learned for few months angular, but I was curious about react too so thank you!

  • @Tywele
    @Tywele 11 місяців тому

    That was an amazing tutorial. It made so many things clearer for me.

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

    Thank you for such informative and learning video. I got a lot, please make more videos that develop a complete React Project as well.

  • @RR-et6zp
    @RR-et6zp Рік тому +1

    Perfect timing. Thanks, you're a legend

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

    thanks kyle for your effort, we need more typescript tuto, have a great day

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

    Thanks for these great videos on React, please continue making these!

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

    Thank you man. Was searching for this.

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

    Thank you for this great tutorial, very neatly articulated. Best for experienced professionals.

    • @MagnusDuru
      @MagnusDuru 10 місяців тому

      Right? For professionals right?

  • @kelvins.kumordzi3203
    @kelvins.kumordzi3203 Рік тому

    Just when i needed it most thank you Kyle!!

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

    I was quite impressed the way you explain things, when I saw some of your videos... So I gone to follow step by step to follow you... I am so eager to learn from you... After going through this video I will share my opinion , even though it will take me few days go through....Manohar

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

    Thanks so much for uploading this! Great tutorial.

  • @tmk2462
    @tmk2462 4 місяці тому

    Hey Bro, to me you re one of the best english teacher of youtube. Your code is really clean and logic. I wish you could do a recent FullStack beginner free project with React/ tailwind / Redux. would be amazing.

  • @mrbhaskarn
    @mrbhaskarn Рік тому +7

    Hello kyle, Your videos really me helped me get a job. Thanks for amazing video courses.

  • @codinginflow
    @codinginflow 4 місяці тому

    Regarding 23:44: It's actually totally fine to use the non-function version of the state setter inside event handlers. The documentation specifically states this. Great video overrall!

  • @Ketrixx
    @Ketrixx 6 місяців тому

    I started by watching Typescript React tutorial (idk ts at all ) and as a newbie, I'm shocked at how much clearer and easier to understand Props are in Typescript when type is defined. Anyway great tutorial and thanks

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

    I started React since one month and Im struggling with it , but this video is helping me a lot thank you

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

    bro you seriously make these stuff super simple to understand

  • @chukwuemekandiukwu1220
    @chukwuemekandiukwu1220 Місяць тому +2

    I hate ti say this but "bro code " is the best react teacher or the best of the best at teaching anything programming.

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

    thank you for the tutorial,easy to follow for a beginner react dev

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

    Thank you very much for doing this video. I will be signing up for your React and your JS courses shortly.
    Question, is building out a web application first with vanilla HTML and CSS (GUI logic) before adding the JS for interactivity/business logic (principle of least power) an imperative or declarative approach?
    Thanks again!

  • @user-zy6ok5sh2y
    @user-zy6ok5sh2y Рік тому

    Great content in a short time. Thanks!

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

    Keep it coming! Quality content!🎉

  • @niat.6496
    @niat.6496 11 місяців тому

    Thanks so much for this tutorial, this is amazing!!

  • @gillguimaraess4143
    @gillguimaraess4143 6 місяців тому

    Very concise. Thanks for the lesson!

  • @les_dev
    @les_dev 9 місяців тому

    this is such a great tutorial. thank you, thank you, thank you!

  • @Dziejkoo
    @Dziejkoo 6 місяців тому

    I've never seen such a great tutorial like this one where every single minute is worth 10mins

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

    Very helpful, thanks! What are your thoughts on Signals? I see that Angular will be using them as a new change detection strategy in an upcoming version and there's a npm package available to use them in React. Seems like it can be useful.

  • @feastofsteven1214
    @feastofsteven1214 4 місяці тому

    Great video -- really wish you had mentioned installing node.js earlier as it set me back an hour to figure that out haha - thanks!

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

    I like your video presentation. It is informative too, at the same time. Thanks a lot for your guidance!

  • @AlejandroOrtiz-ob6bq
    @AlejandroOrtiz-ob6bq 2 місяці тому

    Awesome tutorial from a knowledgeable natural teacher. Thanks!!

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

    This guy definitely teaches me everything about react!!!

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

    This was a great video, thank you!

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

    This has been very useful. Thank you

  • @ewaevva4375
    @ewaevva4375 10 місяців тому

    You could also give the input the required attribute. Plus of course the validation in the handleSubmit( ) function

  • @ejemeniboi1732
    @ejemeniboi1732 9 місяців тому

    Anytime I take a break from react, I always come back to this video to refresh.

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

    This is a really good tutorial. Thank you.

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

    Thank you very much for your valuable knowledge 🎉❤❤❤❤❤

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

    As usual awesome tutorial !
    can you do please a tutorial on React Redux ?
    i would like love to hear your take on it ! and if you can explain what problem it solves, that would be great .
    Hope you have a good day.

  • @sharifsircar
    @sharifsircar Місяць тому

    I am so glad this pretty similar to vue 3, I am not relearning another framework all over again 😅

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

    Great Tutorial to start with the basics.

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

    Thanks for the awesome video, Kyle

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

    Thanks Kyle 👍
    For me, the normal playback speed for kyle videos is 0.75 😛

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

      😂 Dude, I'll have to do the same. He speaks really fast ⏩⏩.

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

      @@alanr5143 haha 😆

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

      @@alanr5143 lol same. I keep checking if the playback speed is 1x every once in a while.

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

      Interesting. I think he may have compressed the video a bit.

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

    Great vídeo, i would like too see a proyect using vue too!

  • @peteharrison3241
    @peteharrison3241 10 місяців тому +1

    Really is the simplest React tutorial I've read to date, thank you. The only thing I still can't grasp is where you use the three dots e.g, ,,,todos
    I'm thinking about your course as this has been the best I've come across.

  • @McRyach
    @McRyach 9 місяців тому +1

    4:37 Thank you.
    Your sandwich 🥪 analogy makes me salivating 🤤

  • @frat1961
    @frat1961 9 місяців тому

    my native language is not english and my english is not good but when this man speak i can understand whole thinks. it lives up to its name.

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

    Really insightful...thank you for sharing...

  • @andrewwong8483
    @andrewwong8483 6 місяців тому

    Very helpful as a dev trying to get back into react. I’m wondering for the part where you setTodos, you are deconstructing the existing value and adding a new value, while creating a new list in memory. Does this have any memory implications or is there a more memory efficient way of doing this operation?

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

    Awesome as always!

  • @RajdeepAnandGPlus
    @RajdeepAnandGPlus 9 місяців тому

    good video for revising your React basics

  • @edinsinmz
    @edinsinmz 21 день тому +3

    thanks! before the tutorial I was scared about React, now I am confused too - lol.
    jk, have to watch it a couple of times.

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

    Impecable video, thanks!

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

    Hey I want to thank you I always understand your tutorials❤

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

    great video! can you make tutorials on more advanced topics. for example, organizing scalable react monorepo project with ui-kit or creating libraries with versioning?

  • @andrewkuvshinov9109
    @andrewkuvshinov9109 10 місяців тому

    How did you do that? So much information in only one short video. Bravo.

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

    Hey Kyle, I see I'm not the only one with this issue: the custom checkbox doesn't render. Console log shows all expected values are getting returned, and commenting out the css on line 105 that hides the default list item check box pops up the default box in-line there and *that* box has expected behavior, so I'm assuming there's some issue on my end with your css that does "content: ""; on line 131... though in fact I see I can't get any of the display attributes for that custom checkbox to change on click. If you have time to comment on this it'd be a great learning experience...

  • @yavergazi
    @yavergazi 9 місяців тому

    Great video ,thanks Kyle

  • @313PH4N7
    @313PH4N7 7 місяців тому

    33:04 Oh boy.. I missed the bit where you deleted ': newItem' which took.... well, too long... to figure out. I figured it was a framework issue or something along those lines, turns out I just didn't pay enough attention. At least I ended up really going through the code which could be considered a win, I guess. ^^
    Thanks for the tutorial.

  • @harvard004
    @harvard004 3 місяці тому

    Out of all your videos - this is the perfect talking speed

  • @limeisrichard
    @limeisrichard 10 місяців тому

    Amazing video was able to follow along but had to slow the video down at some parts, my modules weren't auto importing to app.jsx i had to manually import at the top. also careful with blank property on elements VSC likes to auto include them, my check boxes were broken for a while bc of a blank htmlFor="" on label i didnt see

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

    Great video.
    My question is, why did you not just include the helper function toggleTodo and delete todo in the TodoItem.jsx file? Just like with handleSubmit helper function in NewTodoForm.jsx.

  • @erice.3892
    @erice.3892 Рік тому

    Thanks for this man!