React JS Tutorial – Get up & running with React JS: the most popular JavaScript library in the world!
– Want to master React? Get my React mastery course: http://bit.ly/2KVl2A3
– Subscribe for more videos like this: https://goo.gl/6PYaGF
Want to learn more from me? Check out my blog and courses:
Courses: https://codewithmosh.com
Blog: https://programmingwithmosh.com
Facebook: https://www.facebook.com/programmingwithmosh/
Twitter: https://twitter.com/moshhamedani
TABLE OF CONTENT
00:00 Introduction
01:14 What is React
05:48 Setting Up the Development Environment
09:27 Your First React App
16:03 Hello World
22:26 Components
24:06 Setting Up the Project
26:15 Your First React Component
31:38 Specifying Children
35:56 Embedding Expressions
40:49 Setting Attributes
46:36 Rendering Classes Dynamically
50:57 Rendering Lists
54:58 Conditional Rendering
1:01:04 Handling Events
1:03:56 Binding Event Handlers
1:08:34 Updating the State
1:10:51 What Happens When State Changes
1:12:58 Passing Event Arguments
1:17:31 Composing Components
1:21:18 Passing Data to Components
1:24:31 Passing Children
1:27:44 Debugging React Apps
1:31:55 Props vs State
1:34:22 Raising and Handling Events
1:39:16 Updating the State
1:43:57 Single Source of Truth
1:47:55 Removing the Local State
1:54:44 Multiple Components in Sync
2:00:39 Lifting the State Up
2:06:18 Stateless Functional Components
2:08:49 Destructuring Arguments
2:10:52 Lifecycle Hooks
2:12:32 Mounting Phase
2:18:09 Updating Phase
2:22:31 Unmounting Phase
#react #webdevelopment #programming
source
I am going to put "Trained by Mosh" on my resume and get all the jobs!
I prefer Angular and I have been an Angular developer for 5 years working in Monorepo's utilizing Nx. I do not think Angular's functionalities and setup break from one version to another. Maybe they used to but nowadays Angular has very specific migration guides and CLI tooling to automate the process for you and it's relatively easy. The problem now comes in with integrating all the 3rd party libraries and tooling with Angular like Storybook, Cypress, and Nx which often fall behind.
Thank you for your Tutorial <3
You delete a lot of code and re add stuff throughout the tutorial (e.g. after introducing lists you go back to a previous state of the code). It would be good if you regularly showed the entire code so viewers can properly sync up to what you're doing, in particular if you're not doing this all in one go.
Nice video
I liked this tutorial a lot TQ very much
I really love you !!!!
One day I will become like you.
Great video, however saying that parts of Angular often break between versions is not really true for the last few years at least. We've been using the latest versions of Angular for the last four years and have not had to deal with any major breaking changes. We did have a number of those in third party libraries however.
I totally understand that some of that frustration carries over from the Angular 1 -> 2 upgrade, which from what I know was like a completely different framework.
Just want to say thank you!
8:51 can't figure out how to do this mine isn't showing as the same?
Thank you!
@mosh is the best
How is this free lol
What terminal does Mosh use here and does anyone have instructions on how to set it up?
Also is it possible to set up using OhMyZsh in the VS Code built in terminal?
Is the source code available ?
reactdom isnot rendering the h1 elements
Very nice tutorial! Cleared a lot of concepts
Outdated, not working.
How to validate duplicate (redundant) input value..?
In react typescript
For example,
User given name :
1st user;
Name: Anu
2nd user;
Name: Anu
In this case, how to handle?
well done Mosh, I fall in love with your pattern of teaching, and I wish to be your mentee
You make programming an easy thing that even art students like me can understand. Thank you❤!
Can a non-programmer learn Reactjs?
Nice but how many ads do you have to put on one video?
A++++
Can u send to me source code
Hello everyone,
I have one doubt regarding 'this' object. Can someone explain me, why 'this' was accessible to getBadgeClasses and not to handleIncrement?
Really a helpful tutorial
where can i see source code of this project ?
1:40:06 Instead of 1 I am getting undefined, please help!
Edit: forgot to add "id={counter.id}" in render() lol
Months after watching this video, I still come back to re-remember some core concepts
At 40:13 , on the website it shows me as [object object] when i try to give the <h1> property. Any ideas what went wrong?
Despite this tutorial being outdated by 4 years , it's still one of the best React tutorials out there