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?
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.
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
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.
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."
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
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!
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
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!
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.
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.
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!
it's a pretty handy tutorial , in my perspective though i have noticed with quite a few videos is that sometimes you don't explain WHY certain things happen which makes things confusing. For example : the difference between doing setTodos([]) and using the functional form setTodos((currentTodo) => {return []}) . you dind't really explain why that the update in setTodos([]) will only actually take effect until the handler has been finished.
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.
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
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.
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
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!
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.
Thank you for your dedication to teaching! I learnt the 'gist' of React, but I think it's my lack of JS that's holding me from understanding some parts of this video, like the use of parse in the JSON part in the end 39:45. Thank you for pointing out common beginner mistakes as well!
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
You are good at teaching but take a breath, we need to grab what you are telling. It is not that easy that you tell and we put that in our brain at the same time. Slow down a little. Thanks!
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
I see what you have done here and I like it, using your personal blog as a middleman while rerouting to google but making sure the content over there is not just a piece of skipper text. The content covered was great but your explanations seemed incomplete and as if u wanted to finish it off as soon as possible. Great work despite that.
thank you jesus for actually telling people text labels are supposed to be clickable and the proper usage of the tag. Every time I use a webapp or form that doesn't allow you to click the text because the webdev didn't use a freakin label I die inside a little more.
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!
I built the same app with TypeScript but I faced an issue with the css, where the checked property is not handled properly, when I click on the checkbox the state changes but the checkbox doesn't change (still not checked)...
Had the same issue even in JavaScript, changed from Firefox to Chrome and the checkbox now works fine. Either Firefox has a bug or Chrome supports a non-standard feature.
For anyone wondering why this isn't working and also didn't scroll far down the comments to see @jakob8797 comment, firefox doesn't support :has() yet which is used in one of the css selectors for the checkbox
Can someone explain the use of currentTodos, what is currentTodos and why was it not defined earlier, why do we need to use currentTodos instead of just working on todos
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...
How come you used Vite? I'm used to running npm init react-app appname. Also, none of my files end in .jsx, they all end in .js. And when is your react simplified course going to be available? I only see a sign up form to be notified when it's ready.
Always love to see such comments. I can confirm it is css related. if you comment out the li css or just view the page without css checkbox works. seems to be a common problem with checkboxes and firefox, couldnt find the specific problem in css quickly. Some other post suggest looking into proton ui for firefox and that being the main issue.
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.
Great crash course, although, probably worth noting that the checkboxes don't work in firefox. Works in chrome perfectly fine, spent too much time trying to debug nothing.
First of all, this is a great video, but I wouldn't recommend using the latest CSS features in a video for beginners. I was using Firefox, which doesn't support the :has selector, so the checkboxes didn't work visually. I found this problem quickly, but I can see how it could be frustrating for beginners.
Anybody else having an issue with checkboxes not checking in FIreFox? I tested it in chrome and it seems to work fine but in firefox nothing shows up even after removing all related styles
React Simplified Course: reactsimplified.com
Any update on when you will release your course?
I am not getting ads in your UA-cam channel. Did you forget to monetize the channel?
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?
@@ninnin253 That's the shorthand syntax for JavaScript
I think I need some Adderall. lol
I always wanted to learn React over my lunch and get promoted in the afternoon 😁
40 minutes for lunch is nice!
Hahahhah
Me: You guys get a lunch break...!?
Wait...u have a job without learning react?...what job
@@michaelsazz3545a blowjob, he gives them for free
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.
If you only started out with Svelte you would have known to not touch React with a 5 meter stick...
No offense but no one asked about the book tho 🌚
@@michaelsazz3545 I did :)
@@michaelsazz3545 I did also ask for the book ;)
Thanks @kevinvikan3609 for the information it certainly helps!!
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
yep but perfect for experienced programmers
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.
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."
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
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!
Where did you started learning react give some tips I'm absolutely beginner
Love the talking speed. It keeps me concentrated and constantly engaged. Maximilian's speech is so laid back I keep falling asleep during the course 😂
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!
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
For people like me who is not new to programming. This is incredible tutorial. Saved tons of time.
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!
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.
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.
bro you seriously make these stuff super simple to understand
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!!!!
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!
it's a pretty handy tutorial , in my perspective though i have noticed with quite a few videos is that sometimes you don't explain WHY certain things happen which makes things confusing. For example : the difference between doing setTodos([]) and using the functional form setTodos((currentTodo) => {return []}) . you dind't really explain why that the update in setTodos([]) will only actually take effect until the handler has been finished.
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.
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
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.
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
I hate ti say this but "bro code " is the best react teacher or the best of the best at teaching anything programming.
biggest fan of your efforts kyle 🙋
Another day another todo app
I've never seen such a great tutorial like this one where every single minute is worth 10mins
I started React since one month and Im struggling with it , but this video is helping me a lot thank you
"Make me a sandwich."
"What? Make it yourself!"
"Sudo make me a sandwich."
"Okay."
Loved this condensed "Crash Course" format, learned so much in very little time, much appreciated
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.
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!
I really learnt a lot from watching this video over and over. Many thanks! ❤
You have made learning React so easy and less SCARY. Thank you so much.
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.
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
Thank you for your dedication to teaching! I learnt the 'gist' of React, but I think it's my lack of JS that's holding me from understanding some parts of this video, like the use of parse in the JSON part in the end 39:45.
Thank you for pointing out common beginner mistakes as well!
The hair is legendary. As are the videos.
i'm a junior fullstack, learned for few months angular, but I was curious about react too so thank you!
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
Awesome tutorial from a knowledgeable natural teacher. Thanks!!
Awesome tutorial! Thanks Kyle as always! 👍
You are good at teaching but take a breath, we need to grab what you are telling.
It is not that easy that you tell and we put that in our brain at the same time.
Slow down a little.
Thanks!
Just when I thought it was easy, you started separating it into different components and I watched like a chimp eating bananas
Lmao relatable
Anytime I take a break from react, I always come back to this video to refresh.
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
thanks! before the tutorial I was scared about React, now I am confused too - lol.
jk, have to watch it a couple of times.
Out of all your videos - this is the perfect talking speed
I see what you have done here and I like it, using your personal blog as a middleman while rerouting to google but making sure the content over there is not just a piece of skipper text. The content covered was great but your explanations seemed incomplete and as if u wanted to finish it off as soon as possible. Great work despite that.
Great video! I haven't done react in over a year and this was a perfect refresher!
Loved the video. You just simplified everything
thank you jesus for actually telling people text labels are supposed to be clickable and the proper usage of the tag. Every time I use a webapp or form that doesn't allow you to click the text because the webdev didn't use a freakin label I die inside a little more.
4:37 Thank you.
Your sandwich 🥪 analogy makes me salivating 🤤
Hell yeah Kyle, this is a fantastic video showcasing all the important concepts of React.
One of the best getting start with React on UA-cam... Good Job~
Excellent tutorial. Covers important things that I need to know when just starting out!
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!
Thank you for this great tutorial, very neatly articulated. Best for experienced professionals.
Right? For professionals right?
Thank you so much great revamp on React after 9 months working with Vue
I built the same app with TypeScript but I faced an issue with the css, where the checked property is not handled properly, when I click on the checkbox the state changes but the checkbox doesn't change (still not checked)...
Had the same issue even in JavaScript, changed from Firefox to Chrome and the checkbox now works fine. Either Firefox has a bug or Chrome supports a non-standard feature.
@@markk5764 I believe you are right. I had the same problem. It went away when I did not import the styles.css.
@@markk5764I had the same problem
For anyone wondering why this isn't working and also didn't scroll far down the comments to see @jakob8797 comment, firefox doesn't support :has() yet which is used in one of the css selectors for the checkbox
thank you Kyle! I went through this guide and refreshed a few concepts. Short and straight to the point!
Can someone explain the use of currentTodos, what is currentTodos and why was it not defined earlier, why do we need to use currentTodos instead of just working on todos
Well explained. I'm new to React and this is my first video. I now feel like an experienced React Developer 💯👍💪
good approach for making a new updated video for your react tutorial with vite, especially since create-react-app is dead.
Thanks. I also think this tutorial is much better explained than my old one.
Thank you man. Was searching for this.
Thanks to you I learned a lot about react 🥰🥰
I'm glad I could help.
Appreciate your work , looking forward to more project based content for learning
I am so glad this pretty similar to vue 3, I am not relearning another framework all over again 😅
Perfect timing. Thanks, you're a legend
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...
Thank you sir, this video is very informative as a beginner.
This video has been a literal life saver. Thank you mate, seriously.
tremendously helpful! I can’t believe I just watched a 40 minute programming video without getting lost or bored lol
this was a great refresher. thansk
Great video -- really wish you had mentioned installing node.js earlier as it set me back an hour to figure that out haha - thanks!
Excellent video !!!
How come you used Vite? I'm used to running npm init react-app appname. Also, none of my files end in .jsx, they all end in .js. And when is your react simplified course going to be available? I only see a sign up form to be notified when it's ready.
This guy definitely teaches me everything about react!!!
Breaking it down into components is very much like an Object Oriented way to think.
Great tutorial, there is an issue running it on firefox when it comes to checking the box. I believe that it is related to the css
Thanks for pointing that out!
Always love to see such comments. I can confirm it is css related. if you comment out the li css or just view the page without css checkbox works. seems to be a common problem with checkboxes and firefox, couldnt find the specific problem in css quickly. Some other post suggest looking into proton ui for firefox and that being the main issue.
Thank you very much for your valuable knowledge 🎉❤❤❤❤❤
that's a sick jackson bro🔥
You are the king 👑 of web development
I like your video presentation. It is informative too, at the same time. Thanks a lot for your guidance!
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.
this is the best react crash course, can not recommend it enough for beginners!
im a beginner and it overwhelms me , coding is so fast, also explaining it briefly and very quick
Very concise. Thanks for the lesson!
15:58 💀. Great Video tho
Great crash course, although, probably worth noting that the checkboxes don't work in firefox. Works in chrome perfectly fine, spent too much time trying to debug nothing.
Thanks I was going insane trying to get them to work
@@twistiv haha me too, no problem! Good luck with React!
thanks kyle for your effort, we need more typescript tuto, have a great day
That was an amazing tutorial. It made so many things clearer for me.
Thank you for such informative and learning video. I got a lot, please make more videos that develop a complete React Project as well.
Too fast for beginners
Yeah he talks so fast, but his content is rich
today i learned my brain works at half speed
15:58 I wonder what this "f*cktion" does... Man, I laughed hard on this one :D
You could also give the input the required attribute. Plus of course the validation in the handleSubmit( ) function
Well done, Kyle.
First of all, this is a great video, but I wouldn't recommend using the latest CSS features in a video for beginners. I was using Firefox, which doesn't support the :has selector, so the checkboxes didn't work visually. I found this problem quickly, but I can see how it could be frustrating for beginners.
this is such a great tutorial. thank you, thank you, thank you!
Thanks so much for uploading this! Great tutorial.
Anybody else having an issue with checkboxes not checking in FIreFox? I tested it in chrome and it seems to work fine but in firefox nothing shows up even after removing all related styles
Same here, have you fixed it yet?
thank you for the tutorial,easy to follow for a beginner react dev
Just when i needed it most thank you Kyle!!