[2017] React Tutorial for Beginners - Codepen.io

  Рет қаралды 115,743

Dev Coffee

Dev Coffee

Күн бұрын

Пікірлер: 191
@kadiroelemo7585
@kadiroelemo7585 6 жыл бұрын
You are an excellent teacher. Of all the React.js videos that I watched, nothing is as clear and simplified as this one. After much struggles, now I have gotten the foundation. Thank you for making this one for me.
@nicholasstenbeck8539
@nicholasstenbeck8539 7 жыл бұрын
I've been looking around for a way to start learning React for a while and this video has helped me more than any other resource I found. Thank you for making this; I now feel like I have a basic grasp of how to create something of my own in React.
@riklamers5280
@riklamers5280 7 жыл бұрын
Give this man a lifetime free coffee supply! Thanks for the clear explanation looking forward to the series and other video's!
@robertglover8022
@robertglover8022 7 жыл бұрын
Chris, i've been at development for a while. You have a casual demeanor about instruction however, you are one of the most effective teachers i've ever experienced. I've read a few not-so-favorable comments here but they will regret it if one has intentions of making it in React. Concise, with examples, execution and delivery. That's quite a combination! Good luck in your future and keep up the most outstanding work. RL Glover
@steveswanson6280
@steveswanson6280 7 жыл бұрын
Just started seriously looking at using React, and this video definitely gave me what I needed to be interested in learning more. Kudos.
@willgelder6191
@willgelder6191 7 жыл бұрын
Awesome, and very concise demo. Props for covering the material as fast as you did and still have everything make sense.
@RunForresRunnn
@RunForresRunnn 8 жыл бұрын
The usage of Codepen made it fun and easy to code along! Smart move. Subscribed and looking forward for more videos like these. Keep up the good work!
@caseytrombley4807
@caseytrombley4807 7 жыл бұрын
This is a good tutorial for people that know how to code and don't need to have their hand held. Thanks!
@Rashomon69
@Rashomon69 7 жыл бұрын
Yeah, for a total noob to React who wants to see what the syntax and structure is like, this tutorial is spot-on.
@digigoliath
@digigoliath 5 жыл бұрын
Thank you very much for a fantastic introduction to REACT. Very well explained & I think I am finally beginning to understand how it works!
@dennysam829
@dennysam829 7 жыл бұрын
Amazing video from the scratch to get a basic understanding of React. This will get you through all the react terminologies etc. Plus you will know how things work in it.
@pirxie1127
@pirxie1127 7 жыл бұрын
Holy Linus, you are the extraordinary programmer and teacher! I love the way, that you explain the code!
@ccordry33
@ccordry33 8 жыл бұрын
Hey I like the video - one thing: the react docs recommend binding the function to this inside the constructor, so that might be a best practice. `Class HelloWorld extends React.Component { constructor(props) { super(props); //your state setup this.toggleColor = this.toggleColor.bind(this); } // rest of code }`
@devcoffee
@devcoffee 8 жыл бұрын
Caleb Cordry yeah this was something I was going to cover in the next video but come to think about it I probably should of gone over it in this video. Thanks for pointing that out!
@HardwareAddiction
@HardwareAddiction 8 жыл бұрын
It confuses me as to why you even have to bind it. I know what bind does.
@joaofilipearaujo
@joaofilipearaujo 7 жыл бұрын
You can even bind directly in the function declaration: toggleColor() { ... }.bind(this);
@azikkii
@azikkii 7 жыл бұрын
Yeah I like to keep the binds in the constructor function too. Seems a bit easier to read and more organized if you have all of your methods defined in the constructor.
@8gentile
@8gentile 7 жыл бұрын
Nice!
@josiahschaefer3338
@josiahschaefer3338 8 жыл бұрын
I've been a bit intimidated by some of these JavaScript frameworks before this, but after watching your video I feel much more confident in diving in!
@computersciencevideos4010
@computersciencevideos4010 7 жыл бұрын
Amazing video, way way better than many courses that ask money to teach React.
@funxiobolic
@funxiobolic 7 жыл бұрын
Coming from Angular background and wanting to learn React, I found this video to be a great starting point. Thanks!
@whatsthisish
@whatsthisish 7 жыл бұрын
I love that you show why things arent working as you go along.
@8gentile
@8gentile 7 жыл бұрын
Some people commenting here are just devSnobs. For a 24 minute video, this is an EXCELLENT intro to React. He covers a ton of stuff, it's very dense. It's a video! You can pause it and (should) look things up if you have questions. Geez. Feels like stackoverflow on here.
@fvelcker
@fvelcker 7 жыл бұрын
I think your example is brilliant. When you don't really know how React works, there is almost some kind of suspense : "WTF is doing with these colours name on a red background !?" and then the input arrive "aaaaaaaah !! excellent !" Anyway, thanks it is a very good and clear introduction.
@myvocalincite
@myvocalincite 8 жыл бұрын
Just getting started with React and this was very helpful. I'm only really knowledgeable in HTML and CSS, but I feel it's time to step up my webdev game. Thank you for this tutorial!
@kennbreece443
@kennbreece443 7 жыл бұрын
Love your stuff - I'm mostly a backend guy, but your videos helped me get off to a great start with Vue.js 2.0 and this was a really good intro to React. Really wish you'd do more, but I get it can be tough to have the time to put in with a full time job.
@Lollumad
@Lollumad 8 жыл бұрын
welcome back, man look forward to learning from your videos
@devcoffee
@devcoffee 8 жыл бұрын
Thanks bro, hope you enjoy!
@Amir-
@Amir- 8 жыл бұрын
Awesome tutorial!! Thank you. Not too detail and not too fast, just perfect! looking forward to your next videos.
@ezekieltojoshan
@ezekieltojoshan 7 жыл бұрын
I hated React until now. Great vid dude! Most of my work those days is about making dinamic websites, i still using angularjs and node/express/mongo to build api backends. Thanks.
@wengeance8962
@wengeance8962 7 жыл бұрын
I see two render() methods hes using in the example at 4:56. Are these the same render methods pulled from the extended object?
@王騰泓
@王騰泓 5 жыл бұрын
Nice tutorial, but my chrome and firefox went wrong from 20:26. The input value onchange part. I can't going on, 'cuz the textfield if fixed. And I can't type any color that I want to change.
@14jasminenguyen
@14jasminenguyen 8 жыл бұрын
Wow, great video and easy to follow! Can't wait to see more!
@keithcarrillo8238
@keithcarrillo8238 7 жыл бұрын
Hey great vid, just wondering how are you able use 'this' and props without binding this and props not being used in the constructor?
@orlandodejesushurtadovalde8732
@orlandodejesushurtadovalde8732 7 жыл бұрын
Hello I'm really new with React and webpack and after a few days already manage to set up a functional working environment. Now I'm stuck in design issues since I would like to create a 960 wide grid separated into 12 columns with 15 gutters. Then start by creating a 100% high section where you center an image on an 80% white background versus a red main color. In advance grateful for any help or tip that is offered
@PixyTech
@PixyTech 7 жыл бұрын
about toggleColor funtion. You can write it as an arrow function like this: toggleColor() => {...} .And you do not need to bind context in that case.
@pupdoggify
@pupdoggify 6 жыл бұрын
love the way you teach!!! more than that, I love your personality!! keep up the great work bud!
@devcoffee
@devcoffee 6 жыл бұрын
Paul Davis thanks so much for the kind words! Be on the lookout for another updated react tutorial
@cortneythomas4664
@cortneythomas4664 6 жыл бұрын
This is fabulously well explained. Thanks for the clarity!!
@glorytoukraine8817
@glorytoukraine8817 8 жыл бұрын
Thanks for great and extremely clear description of react basics. Can't wait for new videos! Also would be cool to see a video about redux, the thing I still can't get alive in my head. I believe, with your video I will finally get it. Also want to notice that you catch me with you joke, was LOL : )
@devcoffee
@devcoffee 8 жыл бұрын
Quantum Robin Redux is definitely going to be a future video! And glad that the joke got you! Thought I didn't sell it well enough
@glorytoukraine8817
@glorytoukraine8817 8 жыл бұрын
I have immediately started moving touchpad and seeking the timeline of youtube player )) Looking forward to see more from you, best regards!
@whome1319
@whome1319 8 жыл бұрын
Wow great video, I was so confused with the older videos on react tuts, not using classes, and constructors etc & binding, if you have more time please make a in depth react.js videos, thanks!
@devcoffee
@devcoffee 8 жыл бұрын
I'll be making a series where I build a puppy listing app with React! That should be out in the next few weeks so stay tuned!
@drkgumby
@drkgumby 8 жыл бұрын
Looking forward to this!
@денисМороз-ь5и
@денисМороз-ь5и 7 жыл бұрын
thank you a lot man! i was search normal tutorial in russian lenguage, but did not find it will waiting for new videos!
@davidcoe8132
@davidcoe8132 8 жыл бұрын
Thank you. Within toggleColor, how come console.log(this) is undefined, however this.setState works?
@ickimadrasi8965
@ickimadrasi8965 5 жыл бұрын
Will you ever put out a comprehensive React course, I have been waiting for part 2
@ramchandea713
@ramchandea713 7 жыл бұрын
superb explanation in layman terms! highly recommended
@SergioArroyoSailing
@SergioArroyoSailing 4 жыл бұрын
Thanls alot man! I was looking on how to setup CodePen for REACT! thanks so much! :D
@devcoffee
@devcoffee 4 жыл бұрын
Sergio Arroyo dude want to join me on a live stream to learn new things
@SergioArroyoSailing
@SergioArroyoSailing 4 жыл бұрын
oh and awesome tutorial for beginners! great way to get your feet wet in REACT! :)
@mohamadalsioufi6993
@mohamadalsioufi6993 7 жыл бұрын
It was an amazing tutorial to start with! Thank you so much! I tried to add transitions to stylObj to make changing the color smoother, but it did not work any help ?!
@devch1094
@devch1094 7 жыл бұрын
Hi brother your code skill so awesome,and I like it,could I know when there are two types of color array ,how to run that couple of arrays,as an example if first array running for 3 minutes,after second array running for 3 minutes and repeating in same div tag?
@StockDC2
@StockDC2 8 жыл бұрын
Great video. Nice and concise while covering all of the fundamentals. Thanks!
@jozefvalverde5978
@jozefvalverde5978 7 жыл бұрын
really helpful man!!! i finally understood react. Cheers from Peru.
@shareali4968
@shareali4968 6 жыл бұрын
That was awesome bro. Keep posting more videos on React with new examples. If possible make a PLAYLIST on React. Please........
@PeteRoCC214
@PeteRoCC214 6 жыл бұрын
Some odd reason my background color didn't render. I followed your instructions. could it be my computer? Which one of your other videos teaches life cycle methods??
@jameslemayian7610
@jameslemayian7610 7 жыл бұрын
Short and to the point. Really nice stuff.
@isospeedrix
@isospeedrix 7 жыл бұрын
What's the difference between this.handleClick}> and Also, when do you need to use this.handleClick = this.handleClick.bind(this); I did my stuff without using bind but you said you have to use bind or else doesn't work. Thanks.
@hofimastah
@hofimastah 7 жыл бұрын
Hi, Great series but I have one question. Why first this doesn't point to the component and 2nd does in: onClick={this.toggleColor.bind(this)} ?
@Frank2tek
@Frank2tek 7 жыл бұрын
Best React intro video ever !
@Kaiyes_
@Kaiyes_ 8 жыл бұрын
When is your Course coming up mate ?
@gerard4317
@gerard4317 7 жыл бұрын
First of all thank you for your tutorials, you have been really helpful. I just wanna ask, is there a way you could make a video explaining how to upload files, with React? Thank you
@generosalitton9017
@generosalitton9017 7 жыл бұрын
Thanks for this video! I finally understand React! Keep it up!
@davedurkee8853
@davedurkee8853 7 жыл бұрын
Excellent teaching method and pace. A+
@this.channel
@this.channel 7 жыл бұрын
After watching the VueJS series, this is quite easy to pick up.
@Baba-so6fh
@Baba-so6fh 6 жыл бұрын
Do you recommend any good books for learning React with beginners in mind? Thanks
@fronbasal
@fronbasal 8 жыл бұрын
Omg dude, thank you so much! Gonna watch it shortly :)
@devcoffee
@devcoffee 8 жыл бұрын
Thanks so much for supporting the channel! There will be a lot more coming soon.
@josedariosanchez990
@josedariosanchez990 7 жыл бұрын
Excellent introduction to React. Thanks so much!
@tonycarbetta1497
@tonycarbetta1497 7 жыл бұрын
Great video ! Very quick and to the point, i like it!
@rosh_plays_guitar
@rosh_plays_guitar 7 жыл бұрын
That made it so clear. You sir are a great teacher!
@veerareddy162
@veerareddy162 7 жыл бұрын
OMG such good tutorial Good experience may i know when u are making this type of videos on redux tooooooo
@bikashkatwal2461
@bikashkatwal2461 7 жыл бұрын
This was so helpful to get the gist of React. Thank you so much
@DavidKarlsson
@DavidKarlsson 8 жыл бұрын
Hey Chris, have you tried out Vue? I haven't used react since I tried it in February so thanks for the update.
@devcoffee
@devcoffee 8 жыл бұрын
Yeah I've used it! I like it quite a lot. I'll be doing a tutorial over it in the next couple weeks!
@DavidKarlsson
@DavidKarlsson 8 жыл бұрын
Awesome. Do you see some benefits to using React over Vue?
@edinchez
@edinchez 8 жыл бұрын
+Dev Coffee Please do beginner Vue 2 videos ASAP! I'm really looking forward to starting to use it as a beginner and I really like the way you explain things.
@CodyShipley
@CodyShipley 7 жыл бұрын
Good stuff, man! Very concise, I dig it B)
@lukeayres511
@lukeayres511 7 жыл бұрын
Excellent video, thank you for making this free.
@koolmo
@koolmo 8 жыл бұрын
Hello Thanks for your video, I wonder if you could do a todo list with React & Redux.. because your tutorial is way better than any of the videos out there.. Thanks again,
@devcoffee
@devcoffee 8 жыл бұрын
Yes! I do plan on using React & Redux with making a puppy listing app. Hopefully I will have that up in the next couple weeks.
@rajivtandon1872
@rajivtandon1872 7 жыл бұрын
Very Nice Video. We want more video with such nice Explanation. Thanks
@gonza-h5v
@gonza-h5v 7 жыл бұрын
do you have the code? It will be cool for fix some typing errors
@pikachu5223
@pikachu5223 7 жыл бұрын
Hey thanks, can you tell me which is the name of that keyboard?
@devcoffee
@devcoffee 6 жыл бұрын
Kali 33 das keyboard! It’s the best!
@pikachu5223
@pikachu5223 6 жыл бұрын
Dev Coffee i have the professional, but my keyboard not sound like yours
@gjcarrow
@gjcarrow 8 жыл бұрын
Weren't you already accessing the "props" object before you wrote the constructor function, and passed it the props object, then called super(props)? I was wondering why we need to do that if you've already got access to that object. I hope what my question is makes sense.
@HardwareAddiction
@HardwareAddiction 8 жыл бұрын
It's because he overrode the constructor method. He had to invoke `super` in order to replicate the original constructor of a component class and only then, add a custom logic.
@codingwithsam8615
@codingwithsam8615 6 жыл бұрын
Hey all, check out my new React/Redux/Firebase tutorial here: kzbin.info/www/bejne/lYGyk2Sbd92ep6s
@felixchanthapanya2912
@felixchanthapanya2912 8 жыл бұрын
Nice Tutorial :) What's the name of the song at the end of your videos ?
@devcoffee
@devcoffee 8 жыл бұрын
Eiffel 65 - Blue (KNY Factory Remix)
@felixchanthapanya2912
@felixchanthapanya2912 8 жыл бұрын
Thanks :)
@vexjack
@vexjack 7 жыл бұрын
Your video really help this newbie here... hehehe... Thanks a lot! You really got me there @2:38 XD
@nortonnnantikill403
@nortonnnantikill403 6 жыл бұрын
Thank you for making React easy to use on Code Pen
@devcoffee
@devcoffee 6 жыл бұрын
NortoNNN! Anti Kill going to post a new react video next week!
@metric152
@metric152 8 жыл бұрын
This was a good intro to react. Still not a fan of mixing html into my js, especially when you have to keep passing the scope, but that's what the kids seem to like these days.
@darrensw777
@darrensw777 8 жыл бұрын
Good explanation until the middle of the video, as it gets more complex you seem to speed up - reverse that trend and you'd make an awesome teacher
@azikkii
@azikkii 7 жыл бұрын
I followed it well and just started React a couple days ago. Really good at explaining things quickly and efficiently. I think he's trying to keep the video a certain length so it's hard to go through every little detail. The whole concept of state is pretty complex and hard to go over everything in such a short time.
@DuckieMcduck
@DuckieMcduck 7 жыл бұрын
For 24 minutes this was a very good introduction to the material. It's better accompanied with actual practice and, well, documentation. The guy can't do miracles.
@tonycarbetta1497
@tonycarbetta1497 7 жыл бұрын
I actually liked that he went fast...
@DevSprout
@DevSprout 6 жыл бұрын
The overall topic isnt entry level, so IMO the speed was appropriate for anyone who already knows js and wants to pickup react basics quickly.
@MylesGmail
@MylesGmail 6 жыл бұрын
I think he did great. He didn't waste any time n he was concise.
@morganm5201
@morganm5201 8 жыл бұрын
Good stuff, man! Wishing I wasn't chained to Angular at work...
@RaxIsBlurx
@RaxIsBlurx 8 жыл бұрын
Hey there, nice video :) Just wanted to check on the componentDidMount and componentWillMount. Wouldn't componentWillMount run before the render and componentDidMount run after the fact its rendered and bound to the html instead, got a little confused when I heard that, just starting on react myself seems to be great :) Waiting for you next videos on React :D
@HardwareAddiction
@HardwareAddiction 8 жыл бұрын
I think he got it wrong, so yea.
@thulasiramg246
@thulasiramg246 7 жыл бұрын
nice explanation dude...,can you please explain bit more in depth like routing and APIs integration
@PaulKevin
@PaulKevin 8 жыл бұрын
I really enjoyed this video. Thank you
@xgqfrms
@xgqfrms 7 жыл бұрын
👍very good demo & 😄thanks a lot!
@marshwiggleme
@marshwiggleme 7 жыл бұрын
HI!! This is a great Tute! Its above my ability right now though. Where to start in being successful?? HTML->Java->React?? I dont know all of the terminolgy. I am a beginner beginner and its hard to know where to start :-)
@thedeveloper4207
@thedeveloper4207 7 жыл бұрын
Learn HTML, CSS, JavaScript and then React. just check up w3schools.com
@mekaseymour1784
@mekaseymour1784 7 жыл бұрын
This is super helpful. Thank you!
@FrappuccinoMe
@FrappuccinoMe 8 жыл бұрын
HES BACK
@devcoffee
@devcoffee 8 жыл бұрын
Haha happy to be back man!
@Spaggelaar
@Spaggelaar 8 жыл бұрын
Nice video, thank you! Learned a lot :D
@kahmad3428
@kahmad3428 6 жыл бұрын
where is part 2 ?
@gravityarm9240
@gravityarm9240 7 жыл бұрын
There are codepee??
@jakallergis
@jakallergis 8 жыл бұрын
Hi there Chris, thanks for the great tutorial! I'm a bit confused tho. I did exactly what you did but mine doesnt loop through every item on the colorArr. To be specific, it makes a pause at yellow as if it went through lightblue silently and then restarts to red. I think i can understand why this is happening, but what i dont get is why yours is looping through all the items correctly although we have the same code. My version of your code: codepen.io/jakallergis/pen/xgEeLQ
@devcoffee
@devcoffee 8 жыл бұрын
Thanks so much for watching. The problem your code has was that you weren't setting state in your else statement. So the last color in the array will never be active. Here is an example of it working: codepen.io/DevCoffee/pen/wgoayj [Lines 32 - 34]
@jakallergis
@jakallergis 8 жыл бұрын
Oh! I knew this was my problem, I just didnt see that you copy-pasted the state change part and thought that you had the same broken code as me and was wondering why yours is working lol. Thanks for pointing out ;)
@ShampooWow
@ShampooWow 8 жыл бұрын
Awesome video! I like it
@maxiequa567
@maxiequa567 8 жыл бұрын
quality! look forward to the rest of series.
@oshoshoshoshosh
@oshoshoshoshosh 7 жыл бұрын
Thanks dude, really nice tut
@ensorubenmamanicruz8680
@ensorubenmamanicruz8680 7 жыл бұрын
Really good, thanks for the video :D
@ConquerJS
@ConquerJS 8 жыл бұрын
Wait so this puppy shop tutorial has been canned? :(
@devcoffee
@devcoffee 8 жыл бұрын
ConquerJS no it's still on the agenda!
@JayWeight
@JayWeight 6 жыл бұрын
So is there an update to this? Would love to see it.
@MarcoCarmonaT
@MarcoCarmonaT 8 жыл бұрын
Thank you! This is very helpful.
@KK-wd5nc
@KK-wd5nc 7 жыл бұрын
nothing gonna display ...whats d problem..???
@joedanielsw
@joedanielsw 7 жыл бұрын
Very helpful video. Thank you!
@badechanti
@badechanti 8 жыл бұрын
very nice sir. thanks you very much spending time
@samirmujawar9703
@samirmujawar9703 7 жыл бұрын
very nice to get started with !!!
@laurenmastroni5609
@laurenmastroni5609 7 жыл бұрын
You are a great teacher thank you!!
@eihcirarobmas3554
@eihcirarobmas3554 7 жыл бұрын
That was really helpful! Thanks
@dastgirakhtar9782
@dastgirakhtar9782 7 жыл бұрын
nice , thanks for such great tutorial
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 900 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Netflix Removed React?
20:36
Theo - t3․gg
Рет қаралды 64 М.
Redis Crash Course
27:31
Web Dev Simplified
Рет қаралды 657 М.
React JS Explained In 10 Minutes
10:00
Dennis Ivy
Рет қаралды 359 М.
React Drag And Drop (dnd-kit) | Beginners Tutorial
17:27
Code Complete
Рет қаралды 58 М.
React JS Crash Course
1:00:39
Traversy Media
Рет қаралды 842 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Netflix JavaScript Talks - RxJS + Redux + React = Amazing!
37:14
Netflix Engineering
Рет қаралды 396 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 914 М.