Hi Travesery media, Thanks a whole lot for the tutorial. It helped a whole lot. One request I will really appreciate is if you can do a very short video on how to edit a task that was already submitted just like you did the toggle reminder aspect of the app. Thank you.
I have been trying to get your courses on Udemy which come with a 77% discount severals of time, but due to restrict of international payment via Debit Card in my country Nigeria, am not able to. Is there a mean you can grant me access to your React Front To Back 2022 and pay with a Fiat or Crypto currency
@@williamssynergyinc.1381 Bruh, you can buy any course on Udemy once you have a Mastercard of any Nigeria bank 🏧. Ask people to help you, transfer to them then use their card to buy.
Story-time: I've been a QA engineer with comp.sci background working in many places building quality tools for over 11 years. Last year during the pandemic most of my company was fired, including myself. So, I decided to apply for a web developer role at Napster. This video was literally all I used to do the technical exam. I am now finishing my probation period! Thanks, mate!
1:43:40 Two more items for recent versions of React as of October 2022: 1. You must also import Routes from react-router-dom and wrap your tag in a tag 2. Instead of component={About} use element={}
Thanks so much! The root route is still broken for me (not showing any of the rendered internals) but I'll keep following the video and see if I can fix it. EDIT: Found another comment with a fix for this if anyone else encounters it: On the first Route (to '/') change "render={props => (" to "element={"
I'm a new dev on my first gig and my new boss just told me that he wants our team to convert their entire website to react - bad news? never done it before, good news, they paying me to learn how, Great news? You have a crash course for me and the team to watch and use to supplement out learning! Excellent work! and thank you!
I wish I could get my first gig AND THEN worry about learning the tech... I already put the tech on my resume, trying to self-learn it and still can't get a job.
This is meticulously clear. I've watched 15 or more videos that took me through creating a ToDoList with React. You have explained things in a way that's easy to understand. Your explanations are thorough and I feel that I'm finally understanding what you are teaching instead of just following along in VScode. Thank you.
Hope you enjoy! This is obviously geared toward people learning React. I have a React project playlist for more project based videos as well as a few Udemy courses. I will also be updating my Vue, Angular crash courses and many others
Yeah, we're gonna try and go old school for a while. There is a lot I want to do such as creating my platform, but I will also be dedicating quite a bit of time to UA-cam :)
Thank you Brad! Best tutorials! 1:29:30 => each child in a list must have a unique key => in your sample data the second entry has a "d" instead of "id" => Thats why suddenly the unique key warning is thrown :)
I am having problem at 1:09:24 That add task function is causing problems [ Error: AddTask(...) : nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null ] Is displayed on the browser
@@LUKFUNTV I ran into the same error, it was because of the addTask function and AddTask component, make sure your function addTask has a small "a" instead of capital A in the App.js Component.
For those getting the error "A Route is only ever to be used as the child of element, never rendered directly. Please wrap your in a " @ 1:43:00. react-router-dom v6 has some changes from v5. you need to import Routes aswell on line 2 with the Router, Route Then you need to wrap both of the 2 tags together with Then in the first change "render={(props) => ( to "element={" Then the second change "component={About}" to "element={}"
I'm getting "Warning: Functions are not valid as a React child. This may happen if you return a Component instead of from render. Or maybe you meant to call this function rather than return it." on the index page, any ideas? Tasks also not displaying.
Just finished the crash course and are very pleased with the results! NOTE! react-router has since been updated this video, and uses a different syntax to route components! Firstly: you have to import a new component called Routes Secondly: wrap a Routes tag around your Route tags Thirdly: instead of using exact render arrow function, use element={} and change the empty tag to a div tag. you wrap the curly braces around that whole thing. Forthly: change component in your Route tag to element. Hope this helps that it took some time for myself to make it work.
To all the beginners like me, at some point WE just have to accept that we'll probably write a shitty first react app. Lets get started anyway 🙏🏽 and just keep this video in a separate tab somewhere until it starts to feel natural. Best wishes fam. Oh, and Brad.... You're amazing! Thank you, deeply, for everything that you do! Your "learn by doing" approach in this video is probably the best way to learn React that I've come across. This is my third tutorial and you make me feel confident enough to write my first shitty web app. Kudos, mate! 🏆🙌🏽🎊☮️
Brad I was missing you badly . Your voice motivates me to code more . Please comeback as soon as possible. Get well soon Other devs are good but traversy media is incomplete without Brad . 👍👍
I have a single piece of advice, because it can confuse a lot of people new to a particular framework or workcycle: don't use same parameter and value names. For instance, you use onClick={onClick}. Use something like onClick={clickHandler} or anything else, just not the exact same keyword. People will confuse as to what's an event handler name and what's the "random function" name. Not just you, basically any tutorial creator does this for some reason. It might be intuitive to you or any experienced developer just trying out React, but not to people relatively new to programming in general.
Thank you so much for this introduction to React ! I'm an old fashioned programmer, and struggle a bit getting my head around new technologies such as React, and your crash course is such an invaluable tool for me to get into it ; and actually get prepared for a job , for which I'll have to pass a test, next week (dec. 2021). This won't make me an expert at a glance, but for sure i'll give me some confidence in, at the very least, being able to translate/transliterate my ideas into react-ready code. Thanks a million !
54:23 - If anyone is confused why he didn't just use 'onDelete()' and instead used () => onDelete(). It is because an event handler is supposed to be either a function or a function reference and a onDelete() is calling the function.
@@jakeb1381 How does it get triggered when the user hasn't clicked it yet? I can't understand why he didn't call onDelete(task.id) directly :((( is that even possible? (syntactically) because he didn't pass the task.id in the parameter, he just wrote { onDelete } and then he said: now if we want to give it the id, we should write it like this: { () => onDelete(task.id) } so he wrote it this way just to pass the id? because it wasn't possible to pass parameters if he called it directly? I'm new in JavaScript, I haven't even written code with it yet, I was just checking out what is React ... but I have a little bit of experience in c#, not much
@@bzmind_ If you call functionA(param) directly, functionA(param) will be triggered even tho user does not click the delete button. The reason is that when the browser read your code and see "functionA()" shape it calls the "functionA" right away because of "()" [bracket means "call this function"] . so you have to put "functionA" in onClick event. but we have to pass parameters, so you need a bracket so you have to put "() => functionA()" instead of "functionA()" so that it won't be triggered until the user click the delete button.
@@jakeb1381 Oh, I get it now, thank you so much for your reply, I didn't know that the browser would call the function() right away, that's new for me, I've just started to learn web development, so where should I learn these points about how the browser and web stuff works and how it reads the codes? what topic are these related to?
Just a heads up. If you use the React snippet extension, you can prefix rafce or whatever you use with an underscore to not generate the un-needed react import
@@ronyahmed320 after many failures I landed a dev job but we used PHP and Angular. This was quite a while ago. Most of my career has been freelance, consulting and of course content creation
Working on my first React project with The Odin Project and felt completely lost midway through. Watching this video cleared everything up thanks so much for taking the time to make this - the way you organized it into segments made it so easy to reference material later too.
Honestly. i think you're hands down the best coding teacher that ever lived. i dont know a modicum of react and this one video got me creating things first time try.and actually understanding. i started coding about 4 years ago. i watched ur html crash course. that was the first "coding" id ever done. you are a legend sir. thanks for all you do
Because it's very messy to be honest, adding the props and the codes and if statements right after the component is very messy, they should be organized all together in component.defaultProps You can do this project without react, in node js way more easy and organized better js and styling in just 10 minutes
I have tears looking at the hard work and dedication you put forth to teach all of us for free. You absolutely are a blessing to this world, Brad. Thank you so much. ❤️
I did struggle a lot to learn React. A lot of wasted time. The problem? I did not know the basics of Javascript in first place. You need to walk before you can run. So I took a few very basic books (books, not complex tutorials!) and learned the fundamentals. After I learned the basics of Javascript, learning React became much easier. Edit: For those asking about the books, for the very basics I learned with Javascript In Less than 50 Pages. And to develop my knowledge I learned with Head First Javacript Programming.
Quick note: Don't register click and doubleclick events on the same element: it's impossible to distinguish single-click events from click events that lead to a dblclick event.
Best React Beginner Guide for everyone who is learning in 2021. Good pace, good examples, easier to grasp, and not too complicated stuff thrown at once.
Thank you so much for this! I'm an accomplished React developer [now] but my employer, a major U.S. corporation, will be getting a series of interns this year and I'm going to direct the React newbies to this video of yours.
amazing stuff. I came from no coding background and watched your html, css, js videos - and now this - you've made this so much easier than I thought it would be. Thank you!
@@yashgupta8336 I see, thank you for letting me know. We are currently looking for freshers to join us. Feel free to explore the opportunity if interested and refer your friends if they are looking for opportunities. You can connect with me using the contact information on my channel.
I've been getting + seriously into React lately, and thanks to you all of the things that were left unclear from the official documentation/tutorial are now clear as day. I've already commented on other videos of yours, but again thank you so much Brad. You're an amazing teacher💯.
I swear man i just wished today that traversy media should upload a crash course on react too and here u r making my wish true thank you so much traversy media
Who else was feeling so hopeful that he would see that he used “d” instead of “id” on one of the json server entries. Btw I’m completely new to React and this tutorial has been really great! Really easy to follow, well explained, and just focusing on fundamentals; exactly what I expect in a crash course 👍 Keep it up!
Usually I struggle to watch a tutorial that last more than 1 hour at one go, but your approach made React more understandable! Thanks for giving such good courses bro
This is going to be the de facto React reference for everyone using it until he comes out with the next one. We're witness to a legendary moment in history, guys.
I had been studying for hours and had a lot of information. Then I found your tutorial, and everything got sense. I understand why people commented on this video as they did. Now I'm part of them. Thank you!!!!! your tutorial taught me a lot!!
It's great to have a known objective to work towards, clear explanation of concepts, instructions presented in a logical sequence, with well organized time stamps. Best of all, no show stopping blockers in the form of hording and scrambling access or any other silly boot camp drama and interruptions. So refreshing!
Awesome tutorial! It was great that you added the backend integration, as a newbie it is something which confuses me and normally gets glossed over... By adding the fake backend and seeing how you manipulate the JSON data and making repeated requests to the server you have really helped me to understand these concepts. THANK YOU!
I tried to learn react multiple times but i wasn't able to learn it.But this time,things has changed thanks to you,now i know how React works and how to combine all of these Stuff into an end Product. Thank you Brad
I've been in this 20 years.... you make the best shit man. Always clear... and most importantly Demonstrated (unlike other tubers that just talk about something which is probably just something they watched from people like yourself and are repeating to make youtube content)
Thank you so much for this! This has truly been the most fantastic react overview I've seen to date. I've been stuck in an endless loop of verbose tutorials, and I really needed a quick overview of hooks, state, and spread operators. This is so fantastic, thank you!
Im currently learning React! And ive watched a lot courses! But this is the best course imo, this course covers so much topics and contains so much value! Thanks a lot Brad!!
For react-dom version 6: 1:44:20 Instead of "render={(props) => ( ..." use "element={..." then follow Trevor's tip on 1:43:40 1. You must also import Routes from react-router-dom and wrap your tag in a tag 2. Instead of component={About} use element={}
@Paul Maximus I have. But Brad is awesome so I have to show him support. I work in react at work, but it is always good to review material and support someone great!
You are ####### amazing man. Every single one of your videos are so succinct, cover every single issue that you would come accross. I've watched a lot of tutorials in my time and no one covers everything the way you do with 0 time wasting. Everything you mention/talk about is 100% relevant and easy to digest. Ridiculous how good you are
As always, thank you so much Brad. Don't need this, but so happy to see you helping the new guys and girls. We're all in this together. Best of luck to everyone in 2021!
For those having a MiniCssExtractPlugin constructor error when building around 1:20:05, put this in your console then build npm i -D --save-exact mini-css-extract-plugin@2.4.5
This video was amazing! I’ve been trying to grasp React for a few days now and this video just nailed it. It’s clear that you are very knowledgeable within this area, and you are terrific at conveying the concepts to others. Thank you!
Very nice beginner tutorial. I like this slow approach where take your time building the app up and showing the results in each step, instead of just writing the whole thing down and we just see the end product. Easier to visualize what each code actually does. Showing alternative approaches really helps too.
Just wow. Im a backend dev. Wanted to learn react. I saw another video of 2 hours. But coudln't grap clealy. But this guy is an amazing teacher. The way he explains is awesome. Subbed. Gonna watch all your videos.
Brad!!! Thank you so much for this (and your other tutorials!) These walk-throughs are some of the MOST valuable things in my learning process. And I'm paying $$$ to do a well-established software engineering bootcamp. This really helps put together pieces that I didn't even realize are missing. Thank you, thank you, thank you!!!
Great course !! It's funny to watch how Brad can't see that he has 'd' instead of 'id' in the second object, but that kind of things makes course even better. Shows that everyone makes mistakes from not-even-junior to senior full-stack :)
Thank you so much for this course! While I'll admit that attempting to learn React, for me has been daunting for a long time. But the way you teach has put my mind at ease. I learned so much :)
Thank you so much Brad for this incredible crash course. I really loved seeing how fast things can go using react. Can't wait to start redoing some of my portfolio projects in react
1:25:00 Me screaming : YOU MISSED "i" 1:29:16 Me : NO 1:29:32 Me : Look at the second line 1:29:40 Me : Coz, Missed an "i" 1:35:00 Me: I Knew you gonna find it. Now I can rest in peace
@@abhijiths148 Good to know that Abhijith! Can we please get in touch to discuss more? Please connect with me using the information mentioned on my channel. Looking forward to hearing from you!
Awesome contents on this channel! This is totally what I needed to brush up on REACT! Moreso, I have a 'no too important' observation at 1:13:07 The code that generates ids in the function handler 'addTask' in 'App.js' component, given below: const id = Math.floor(Math.random()*10000) + 1; could be changed to: const id = Math.floor(Math.random()*10000) + 4; since we already have ids of 1, 2 & 3. This was later made irrelevant after incorporating json server as it generates its own ids. However, the correction may be useful for those who didn't add json-server to theirs.
This is a great tutorial. I always see many tutorials about coding and usually stop about 30 minutes in. I did that with both Angular and React. When I watched your crash courses on both of those they finally clicked!
I'm a career-shifter and a newbie this crash course really helped me alot. Got stuck in Router part where I think I installed v6 so I install v5. Thank you sooo much!
Did someone else struggle with the Add button toggle, because Brad missed the part in the video where he should catch the Button onClick prop in Button.js? It drove me crazy for almost an hour 😓
thank you so much, i was overwhelmed by react before this course with all the abstractions but after your video everything about the hooks, props, and routes makes so much sense now... you deserve all support.
This is an outstanding tutorial. As a React beginner, I was able to follow it all the way through and took frequent pauses to try coding out front-end and server-side functionality myself before you did so I could learn from your approach better. Thank you so much!
@@shannon-daygrant8754 The employer would say, "Sorry, we're not a good fit." Two weeks later the employer would call you back "PLEASE PLEASE PRETTY PLEASE COME WORK FOR US!!!!!!"
React Router has been updated to v6. Check out this video to see the changes for this project - ua-cam.com/video/k2Zk5cbiZhg/v-deo.html
Hi Travesery media,
Thanks a whole lot for the tutorial. It helped a whole lot.
One request I will really appreciate is if you can do a very short video on how to edit a task that was already submitted just like you did the toggle reminder aspect of the app.
Thank you.
٨حك نمحح٩جمحممحجك
I have been trying to get your courses on Udemy which come with a 77% discount severals of time, but due to restrict of international payment via Debit Card in my country Nigeria, am not able to. Is there a mean you can grant me access to your React Front To Back 2022 and pay with a Fiat or Crypto currency
@@williamssynergyinc.1381 Bruh, you can buy any course on Udemy once you have a Mastercard of any Nigeria bank 🏧. Ask people to help you, transfer to them then use their card to buy.
@@blvcknoone do you live in Nigeria, and if yes, when last were you able to make payment with Naira Debit card
Story-time: I've been a QA engineer with comp.sci background working in many places building quality tools for over 11 years. Last year during the pandemic most of my company was fired, including myself. So, I decided to apply for a web developer role at Napster. This video was literally all I used to do the technical exam. I am now finishing my probation period! Thanks, mate!
How is webdev compared to your previous work?
Napster!?!? THE napster??
Good job
I'm the CEO at Napster, your fired! 🤣🤣🙄
I am a STE and even I am learning react from past 1 year
1:43:40 Two more items for recent versions of React as of October 2022:
1. You must also import Routes from react-router-dom and wrap your tag in a tag
2. Instead of component={About} use element={}
Thanks bud l was really struggling to find what was wrong with the code
Thanks so much! The root route is still broken for me (not showing any of the rendered internals) but I'll keep following the video and see if I can fix it.
EDIT: Found another comment with a fix for this if anyone else encounters it:
On the first Route (to '/') change "render={props => (" to "element={"
@@MangoMang appreciate u!!
gg
@@MangoMang you're a life saver!!! thankssss for this!!!
I'm a new dev on my first gig and my new boss just told me that he wants our team to convert their entire website to react - bad news? never done it before, good news, they paying me to learn how, Great news? You have a crash course for me and the team to watch and use to supplement out learning! Excellent work! and thank you!
Best Of Luck!
yikes, up here i would never have a chance to become a dev without knowing react.. somewhere on the world life is just easier
I wish I could get my first gig AND THEN worry about learning the tech... I already put the tech on my resume, trying to self-learn it and still can't get a job.
@@IChowdhury01 How long have you been self-studying ?
@@IChowdhury01 Best of luck :)
This is meticulously clear. I've watched 15 or more videos that took me through creating a ToDoList with React. You have explained things in a way that's easy to understand. Your explanations are thorough and I feel that I'm finally understanding what you are teaching instead of just following along in VScode. Thank you.
Hope you enjoy! This is obviously geared toward people learning React. I have a React project playlist for more project based videos as well as a few Udemy courses. I will also be updating my Vue, Angular crash courses and many others
Love your tutorials! Can't wait for updated one for vue
Waiting for angular crash course to start learning it👍🏻
You got an error because you deleted an "i" in "id"
waiting for your Udemy courses
Thanks
I love the guest hosts, but I was surprised and delighted to hear brad himself!!!!
Yeah, we're gonna try and go old school for a while. There is a lot I want to do such as creating my platform, but I will also be dedicating quite a bit of time to UA-cam :)
@@TraversyMedia you are very clever
@@K13ran1984 Hey just checked out your site. Some cool stuff. Wanted to let you know that your resume section still has lorem ipsum placeholder text
@@TraversyMedia Thanks for all the crash courses
Thank you Brad! Best tutorials!
1:29:30 => each child in a list must have a unique key => in your sample data the second entry has a "d" instead of "id" => Thats why suddenly the unique key warning is thrown :)
That's what I came here to say. I knew someone must have seen that. Good catch.
And then Brad caught it at 1:35:22, so all's well
I am having problem at 1:09:24
That add task function is causing problems
[
Error: AddTask(...) : nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null
]
Is displayed on the browser
@@LUKFUNTV I ran into the same error, it was because of the addTask function and AddTask component, make sure your function addTask has a small "a" instead of capital A in the App.js Component.
I was dying when he didn’t see it multiple times
For those getting the error "A Route is only ever to be used as the child of element, never rendered directly. Please wrap your in a " @ 1:43:00. react-router-dom v6 has some changes from v5.
you need to import Routes aswell on line 2 with the Router, Route
Then you need to wrap both of the 2 tags together with
Then in the first change "render={(props) => ( to "element={"
Then the second change "component={About}" to "element={}"
Man you are a life-saver , I was about to give up
Appreciate you!
love you my man
I'm getting "Warning: Functions are not valid as a React child. This may happen if you return a Component instead of from render. Or maybe you meant to call this function rather than return it." on the index page, any ideas? Tasks also not displaying.
why I didnt read the comment first 😭, I install my Router to v5. Thanks man!
Just finished the crash course and are very pleased with the results! NOTE! react-router has since been updated this video, and uses a different syntax to route components!
Firstly: you have to import a new component called Routes
Secondly: wrap a Routes tag around your Route tags
Thirdly: instead of using exact render arrow function, use element={} and change the empty tag to a div tag. you wrap the curly braces around that whole thing.
Forthly: change component in your Route tag to element.
Hope this helps that it took some time for myself to make it work.
To all the beginners like me, at some point WE just have to accept that we'll probably write a shitty first react app. Lets get started anyway 🙏🏽 and just keep this video in a separate tab somewhere until it starts to feel natural. Best wishes fam. Oh, and Brad.... You're amazing! Thank you, deeply, for everything that you do! Your "learn by doing" approach in this video is probably the best way to learn React that I've come across. This is my third tutorial and you make me feel confident enough to write my first shitty web app. Kudos, mate! 🏆🙌🏽🎊☮️
I will never accept that my first react app will be shitty! NEVER!
@@joycejeyaratnam433 unless you're Uncle Bob, good luck lol
Best way to learn anything is to get an overview and then escape the tutorial trap as soon as possible.
Brad, thanks to you I'm feeding my family man, can't thank you enough, much love from ALGERIA
Man you’re just a blessing to this world
Ha! I'll have to show my wife this one :) Thanks man
@@TraversyMedia You truly are.
@@TraversyMedia My goodness you replied me! 😱 Really big fan of you man! Keep up with the amazing work!! Much love from Switzerland 🇨🇭
@@TraversyMedia Well I doubt she will understand it. You are a blessing to a world which is different than theirs. 😉
@@romulororizz vc é Português cara da suiça?
Brad I was missing you badly . Your voice motivates me to code more . Please comeback as soon as possible. Get well soon Other devs are good but traversy media is incomplete without Brad . 👍👍
I'm back my man 😉
My thought exactly!!!!!!
@@TraversyMedia LOve you brada
I can say this without an ounce of doubt in my mind: You are the most loved coding content creator on youtube!
I have a single piece of advice, because it can confuse a lot of people new to a particular framework or workcycle: don't use same parameter and value names. For instance, you use onClick={onClick}. Use something like onClick={clickHandler} or anything else, just not the exact same keyword. People will confuse as to what's an event handler name and what's the "random function" name. Not just you, basically any tutorial creator does this for some reason. It might be intuitive to you or any experienced developer just trying out React, but not to people relatively new to programming in general.
Thank you so much for this introduction to React !
I'm an old fashioned programmer, and struggle a bit getting my head around new technologies such as React, and your crash course is such an invaluable tool for me to get into it ; and actually get prepared for a job , for which I'll have to pass a test, next week (dec. 2021).
This won't make me an expert at a glance, but for sure i'll give me some confidence in, at the very least, being able to translate/transliterate my ideas into react-ready code.
Thanks a million !
TRAVERSY is a LEGEND!! There are going to be books written about this guy when he's done!
Why you want him to be done? Let him continue forever. 😃
hope he's not going to be gone soon. I won't last long as a programmer without this guy
He wont be done mate because he is a LEGEND
legends never die.
54:23 - If anyone is confused why he didn't just use 'onDelete()' and instead used () => onDelete(). It is because an event handler is supposed to be either a function or a function reference and a onDelete() is calling the function.
I still don't get it man
@@Ahmad_code if you put onDelete(), the function onDelete will be triggered even tho the user did not click it.
@@jakeb1381 How does it get triggered when the user hasn't clicked it yet? I can't understand why he didn't call onDelete(task.id) directly :(((
is that even possible? (syntactically) because he didn't pass the task.id in the parameter, he just wrote
{ onDelete }
and then he said: now if we want to give it the id, we should write it like this:
{ () => onDelete(task.id) }
so he wrote it this way just to pass the id? because it wasn't possible to pass parameters if he called it directly?
I'm new in JavaScript, I haven't even written code with it yet, I was just checking out what is React ... but I have a little bit of experience in c#, not much
@@bzmind_ If you call functionA(param) directly, functionA(param) will be triggered even tho user does not click the delete button. The reason is that when the browser read your code and see "functionA()" shape it calls the "functionA" right away because of "()" [bracket means "call this function"]
. so you have to put "functionA" in onClick event. but we have to pass parameters, so you need a bracket so you have to put "() => functionA()" instead of "functionA()" so that it won't be triggered until the user click the delete button.
@@jakeb1381 Oh, I get it now, thank you so much for your reply, I didn't know that the browser would call the function() right away, that's new for me, I've just started to learn web development, so where should I learn these points about how the browser and web stuff works and how it reads the codes? what topic are these related to?
Just a heads up. If you use the React snippet extension, you can prefix rafce or whatever you use with an underscore to not generate the un-needed react import
@@gman8361 how did you get a job? plz share your experience. Do you know react, node.js yet?
@@ronyahmed320 after many failures I landed a dev job but we used PHP and Angular. This was quite a while ago. Most of my career has been freelance, consulting and of course content creation
@@TraversyMedia Was it pure PHP or a framework like Laravel?
thank you so much for this video and for the trick to get class arr func, it wasn’t mentioned in es7 vscode extension’s documentations too.
@@TraversyMedia hi I m also a web developer (PHP) learning react if any job or project in which I can work do let me know.
Working on my first React project with The Odin Project and felt completely lost midway through. Watching this video cleared everything up thanks so much for taking the time to make this - the way you organized it into segments made it so easy to reference material later too.
Honestly. i think you're hands down the best coding teacher that ever lived. i dont know a modicum of react and this one video got me creating things first time try.and actually understanding. i started coding about 4 years ago. i watched ur html crash course. that was the first "coding" id ever done. you are a legend sir. thanks for all you do
1 hour video from Brad is like 3++ hours practice in my computer .
3 days took me lol
Because it's very messy to be honest, adding the props and the codes and if statements right after the component is very messy, they should be organized all together in component.defaultProps
You can do this project without react, in node js way more easy and organized better js and styling in just 10 minutes
show us the cat food
Wow! Every year I wait for crash course updates, more than movies hahah.
That's awesome. Especially this year. Movies have been shit because of Covid
@@TraversyMedia Love you Brad from India .
I have tears looking at the hard work and dedication you put forth to teach all of us for free. You absolutely are a blessing to this world, Brad. Thank you so much. ❤️
Hey Hemanth! Are you a student or working currently? Would you be interested in exploring opportunities in job web development?
Great course. Went from doing Python/NodeJS to React overnight. This is my first foray into that realm. Thanks for the no-nonsense tutorial!
I did struggle a lot to learn React. A lot of wasted time.
The problem? I did not know the basics of Javascript in first place. You need to walk before you can run.
So I took a few very basic books (books, not complex tutorials!) and learned the fundamentals.
After I learned the basics of Javascript, learning React became much easier.
Edit: For those asking about the books, for the very basics I learned with Javascript In Less than 50 Pages.
And to develop my knowledge I learned with Head First Javacript Programming.
Whats the title of the book?
what is the book
The best Javascript book: Eloquent javascript by Marijn Haverbeke
The best React book: The road to learn React by Robin Wieruch
Quick note: Don't register click and doubleclick events on the same element: it's impossible to distinguish single-click events from click events that lead to a dblclick event.
How can you solve it without binding two events to the same element?
Best React Beginner Guide for everyone who is learning in 2021. Good pace, good examples, easier to grasp, and not too complicated stuff thrown at once.
Hey Aditya! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?
Thank you so much for this! I'm an accomplished React developer [now] but my employer, a major U.S. corporation, will be getting a series of interns this year and I'm going to direct the React newbies to this video of yours.
amazing stuff. I came from no coding background and watched your html, css, js videos - and now this - you've made this so much easier than I thought it would be. Thank you!
I am a total beginner with the React , but after watching and coding this tutorial , I feel pretty much comfortable!!
Hey Yash, are you a fresher in web development and open to full-time positions in the same?
Hey Shivani , yes I am a fresher but currently I am working in a start-up from past 5 months
@@yashgupta8336 I see, thank you for letting me know. We are currently looking for freshers to join us. Feel free to explore the opportunity if interested and refer your friends if they are looking for opportunities. You can connect with me using the contact information on my channel.
@@shivanigaddagimath5994 yeah sure can U tell me your LinkedIn profile so that we can connect?
@@yashgupta8336 Please visit the "About" section of my channel and you will be able to find the link. Thank you, looking forward to hearing from you.
I've been getting + seriously into React lately, and thanks to you all of the things that were left unclear from the official documentation/tutorial are now clear as day.
I've already commented on other videos of yours, but again thank you so much Brad. You're an amazing teacher💯.
I swear man i just wished today that traversy media should upload a crash course on react too and here u r making my wish true thank you so much traversy media
Hey Bhavin! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?
Who else was feeling so hopeful that he would see that he used “d” instead of “id” on one of the json server entries.
Btw I’m completely new to React and this tutorial has been really great! Really easy to follow, well explained, and just focusing on fundamentals; exactly what I expect in a crash course 👍 Keep it up!
Haha I was like wait im not getting this error, then I saw he used d instead of id, if people where wondering when this happens it is on 1:30:00
Usually I struggle to watch a tutorial that last more than 1 hour at one go, but your approach made React more understandable!
Thanks for giving such good courses bro
this course was perfect, i thought i would have to slave away watching some 48 hour course and here you are condensing it all so well.
this
It's perfect in a pinch. I need to learn it, and NOW. Cause time is money for me right now
Just as i was reading the official react document this video popped up. Brad knows it ahead of time cheers!
The first 10 minutes is one of the best explanations of React I've ever heard.
This is going to be the de facto React reference for everyone using it until he comes out with the next one. We're witness to a legendary moment in history, guys.
Damn I must be out of the loop for this to be legendary
I had been studying for hours and had a lot of information. Then I found your tutorial, and everything got sense. I understand why people commented on this video as they did. Now I'm part of them. Thank you!!!!! your tutorial taught me a lot!!
It's great to have a known objective to work towards, clear explanation of concepts, instructions presented in a logical sequence, with well organized time stamps. Best of all, no show stopping blockers in the form of hording and scrambling access or any other silly boot camp drama and interruptions. So refreshing!
Thanks for updating the course. I'm just getting into React and having a tutorial that's from 2021 is reassuring when it comes to relevant code.
Awesome tutorial! It was great that you added the backend integration, as a newbie it is something which confuses me and normally gets glossed over... By adding the fake backend and seeing how you manipulate the JSON data and making repeated requests to the server you have really helped me to understand these concepts. THANK YOU!
Can you please tell me how can i deploy this project with this json server. I had tried to do this but no backend is running :(
I just took the React front-to-back course of Brad on Udemy, and guess what, it's frickin' awesome. I just love the way he teaches things.
Hey Pawan! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?
This is clear. Some other courses I feel that either the teacher is not good teaching or they just want to show off their sophisticated code
I tried to learn react multiple times but i wasn't able to learn it.But this time,things has changed thanks to you,now i know how React works and how to combine all of these Stuff into an end Product.
Thank you Brad
I've been in this 20 years.... you make the best shit man. Always clear... and most importantly Demonstrated (unlike other tubers that just talk about something which is probably just something they watched from people like yourself and are repeating to make youtube content)
best shit? 😂
@@Susushauauw American Slang... for: Best Stuff
@@Susushauauw
It sounds like giving toilet paper for a housewarming party😁
Lol
Don't take it strong.
Just kidding 😁😀😀
@@LUKFUNTV That's a good idea... Better yet to take a big nasty one to break in the toilet as well..
Thank you so much for this! This has truly been the most fantastic react overview I've seen to date. I've been stuck in an endless loop of verbose tutorials, and I really needed a quick overview of hooks, state, and spread operators. This is so fantastic, thank you!
I agree too!
Im currently learning React! And ive watched a lot courses! But this is the best course imo, this course covers so much topics and contains so much value! Thanks a lot Brad!!
Best tutorial so far. It isn't often that coders know how to speak both common English and code
For react-dom version 6:
1:44:20
Instead of "render={(props) => ( ..." use "element={..."
then follow Trevor's tip on
1:43:40
1. You must also import Routes from react-router-dom and wrap your tag in a tag
2. Instead of component={About} use element={}
Thank you!
It amazes me how you code every day yet everything seems all new
I feel no matter how much I learn there's always so much more to understand and learn, nested learning??!!
I learn a lot to develop both in front and back end web dev from you, you're the genius, keep on we're behind you, and thanks.
I literally just finished watching your React Crash Course from 2019 and then I see this haha
It’s still relevant but I wanted to use hooks instead of class components
@@TraversyMedia Not to mention class components will still be relevant for some time since many of us have to deal with older code.
My man. I've got a job interview tomorrow and I'm re-watching this video to brush up. You are the best.
I have been trying to wrap my head around React for weeks and you just hit the nail on the head with a sludge hammer!!! Thank you!!!
this is the first tutorial I followed to start learning react and man I'm so glad I did. thank you very much Brad. keep it up
Hi Kalindu! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?
ua-cam.com/video/cMs0RirA-rU/v-deo.html&ab_channel=DevTips
Thank you Brad, one of my goals this year was to learn React and having you as a teacher makes everything better
WOW! Brad is back with a React Crash Course! WHOA! Just cancelled lunch plans with my family. This is a big moment for me instead! lol
@Paul Maximus I have. But Brad is awesome so I have to show him support. I work in react at work, but it is always good to review material and support someone great!
This is a brilliant tutorial. It just cuts to the chase and immediately gets to the crux of things. Thanks for sharing. Very helpful.
You are ####### amazing man. Every single one of your videos are so succinct, cover every single issue that you would come accross. I've watched a lot of tutorials in my time and no one covers everything the way you do with 0 time wasting. Everything you mention/talk about is 100% relevant and easy to digest. Ridiculous how good you are
As always, thank you so much Brad. Don't need this, but so happy to see you helping the new guys and girls. We're all in this together. Best of luck to everyone in 2021!
For those having a MiniCssExtractPlugin constructor error when building around 1:20:05, put this in your console then build
npm i -D --save-exact mini-css-extract-plugin@2.4.5
This video was amazing! I’ve been trying to grasp React for a few days now and this video just nailed it. It’s clear that you are very knowledgeable within this area, and you are terrific at conveying the concepts to others. Thank you!
Very nice beginner tutorial. I like this slow approach where take your time building the app up and showing the results in each step, instead of just writing the whole thing down and we just see the end product. Easier to visualize what each code actually does. Showing alternative approaches really helps too.
Just wow. Im a backend dev. Wanted to learn react. I saw another video of 2 hours. But coudln't grap clealy. But this guy is an amazing teacher. The way he explains is awesome. Subbed. Gonna watch all your videos.
Brad!!! Thank you so much for this (and your other tutorials!) These walk-throughs are some of the MOST valuable things in my learning process. And I'm paying $$$ to do a well-established software engineering bootcamp. This really helps put together pieces that I didn't even realize are missing. Thank you, thank you, thank you!!!
Yeah, I am in the same boat.
Simply awesome. My first time dealing with React, and I can say this video is definitely beginner's friendly! Thanks a lot!
This was not too long. It was an excellent crash course. Taught well by you. Thank you.
This basically showed me I can build any app with the core basics of React. You're the best.
Only required Information is delivered, no chit chat only qualitative stuff. Great.
You just got a new follower and subscriber.
Brad, we really can't thank you enough!
Great course !! It's funny to watch how Brad can't see that he has 'd' instead of 'id' in the second object, but that kind of things makes course even better. Shows that everyone makes mistakes from not-even-junior to senior full-stack :)
Thank you so much for this course! While I'll admit that attempting to learn React, for me has been daunting for a long time. But the way you teach has put my mind at ease. I learned so much :)
I love this guy when it comes to crash courses - react, react-native and what you did with Angular I really appreciate. Thank you
Crystal clear, I was able to practice this completely in my laptop without any difficulties. Thanks a lot for your effort brother. God bless you!
Thank you so much Brad for this incredible crash course. I really loved seeing how fast things can go using react. Can't wait to start redoing some of my portfolio projects in react
1:25:00 Me screaming : YOU MISSED "i"
1:29:16 Me : NO
1:29:32 Me : Look at the second line
1:29:40 Me : Coz, Missed an "i"
1:35:00 Me: I Knew you gonna find it. Now I can rest in peace
1:29:50 Reads below for hopeful spoiler alert about him finding the missing 'i'. Phew!
He didnt fix the key -> index back to id tho
hahahha that gave a little bit of anxiety ngl
Hahahaha same! xd
I was screaming at the screen
Your crash courses are helping me to clear my interviews! Thanks a lot, man! I wish I could've subscribed to this channel earlier! haha
Hi Vaidehi, where are you based currently? Are you still interviewing for web development roles? We are interested in hiring talented web developers.
@@shivanigaddagimath5994 Interested
@@abhijiths148 Good to know that Abhijith! Can we please get in touch to discuss more? Please connect with me using the information mentioned on my channel. Looking forward to hearing from you!
Awesome contents on this channel!
This is totally what I needed to brush up on REACT!
Moreso, I have a 'no too important' observation at 1:13:07
The code that generates ids in the function handler 'addTask' in 'App.js' component, given below:
const id = Math.floor(Math.random()*10000) + 1;
could be changed to:
const id = Math.floor(Math.random()*10000) + 4;
since we already have ids of 1, 2 & 3.
This was later made irrelevant after incorporating json server as it generates its own ids.
However, the correction may be useful for those who didn't add json-server to theirs.
Bruh idek what I would do without this channel
I've been eagerly waiting for this updated version. I can't thank you enough.
Are you serious? I was just planning to start learning React! haha this is awesome 😄
lucky us hhhh
All the non-Hindi speaking viewers in the world thank you for your contribution to society. You are the best at explaining every single step!
Just finished this crash course to the last minute. I can say it is worth every minute!! 😍 . Thanks Brad!!
For Mobile Phone
Timestamps:
0:00 - Intro & Slides
12:37 - Create a React app
14:52 - Files & folders
18:54 - App component & JSX
22:39 - Expressions in JSX
23:49 - Creating a component
27:18 - Component Props
28:50 - PropTypes
30:42 - Styling
34:17 - Button Component
37:46 - Events
40:18 - Tasks Component
41:03 - Create a list with .map()
43:07 - State & useState Hook
44:55 - Global state
46:52 - Task Component
49:30 - Icons with react-icons
51:41 - Delete task & prop drilling
55:50 - Optional message if no tasks
56:58 - Toggle reminder & conditional styling
1:03:13 - Add Task Form
1:06:16 - Form input state (controlled components)
1:09:18 - Add task submit
1:14:36 - showAddTask state
1:15:58 - Button toggle
1:19:33 - Build for production
1:21:51 - JSON Server
1:25:53 - useEffect Hook & Fetch tasks from server
1:30:13 - Delete task from server
1:31:51 - Add task to server
1:35:15 - Toggle reminder on server
1:39:15 - Routing, footer & about
Incredible tutorial, really learned a lot working through this~
This is a great tutorial. I always see many tutorials about coding and usually stop about 30 minutes in. I did that with both Angular and React. When I watched your crash courses on both of those they finally clicked!
I'm a career-shifter and a newbie this crash course really helped me alot. Got stuck in Router part where I think I installed v6 so I install v5. Thank you sooo much!
1:30:00 on second task lost "i" in "id"
He knows. He fixed it at 1:35:00.
imagine if he deleted this task accidentally while testing deleteTask and would never know
Did someone else struggle with the Add button toggle, because Brad missed the part in the video where he should catch the Button onClick prop in Button.js? It drove me crazy for almost an hour 😓
49:06 :))) Why we love you. These little things, like a cherry on the top.
Wow yea peak comedy right here..
half way through it and I have already learned a lot of concepts!
Thank you for creating a thorough video!
thank you so much, i was overwhelmed by react before this course with all the abstractions but after your video everything about the hooks, props, and routes makes so much sense now... you deserve all support.
This was amazing! Thanks for the amazing content Brad, feeling grateful for your channel.
Hi Susheendhar! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?
React is amazing. Will be my new front end framework.
just want to correct you that react is ui library not a framework.
Bruhhhh you read my mind. I was just thinking about when you were going to drop a react js crash course 😂
It's amazing how a 2 hour video takes a whole day to work through, but i made it! thanks for making this!
This is an outstanding tutorial. As a React beginner, I was able to follow it all the way through and took frequent pauses to try coding out front-end and server-side functionality myself before you did so I could learn from your approach better. Thank you so much!
Employer:
What are your skills?
Me:
I can pretty much follow Traversy Media's tutorials. Not always, but most of the time.
Employer:
You're hired.
is it that easy?
@@lPoliticallyFye No that was a joke. I'm not sure what an employer would say to that.
@@shannon-daygrant8754 The employer would say, "Sorry, we're not a good fit." Two weeks later the employer would call you back "PLEASE PLEASE PRETTY PLEASE COME WORK FOR US!!!!!!"
Following and doing stuffs yourself, there is a vast sea in between🧐