Full React Course 2020 - Learn Fundamentals, Hooks, Context API, React Router, Custom Hooks
Log in
YouTube
by
romuch1986
Hey, what's up, it's john from coding attic. And welcome to react tutorial video, where
we're going to take a deep dive into awesome world of react, we're going to start from
the very scratch. So think setup, install on general concepts, and slowly but surely
move towards more interesting and more complex react topics, like react hooks, context API,
and react router, just to name a few. So by the end of this video, you're going to have
a good grasp on how to use react for your next project. As a side note, I'm currently
working on additional react projects video, where we'll put all of our tutorial knowledge
to good use by building bunch of cool apps with react. If you'd like to see some of the
projects we're going to build, just head on over to react hyphen, project dotnet, we'll
find that app and look for a video link in description. And lastly, both videos are part
of my react course, where we build even more cool and complex projects using react. And
if you're interested, you can check out the course at John's milgard.com. Alright, and
welcome to the course. And we're going to kick things off by quickly covering what in
the world is. And there's no better place to start than the official docs for me, by
the way, are located at react js.org. Once we navigate there, we are greeted by this
one profound sentence. React is a JavaScript library for building user interfaces. That's
it My friends, not a PhD dissertation paper, just a short, concise one sentence explanation,
while I'm a big fan are straight to the point answers. And the first one, by far sums up
react the best. Let me elaborate a bit on that. So react was developed at Facebook in
2011. And currently, it is by far the most popular years you heard correctly the most
popular JavaScript library to build user interfaces. As I know, some of react competitors are Angular
view, as well. If there's one thing that I would want you to take away from this video,
is this one. When it comes to react, it's all about components. You can think of components
as independent chunks of user interfaces. components can be as small as one HTML element,
or you can be a rebel, and jam your entire Facebook clone in one component. At the end
of the day, a lot of it depends on your needs and wants. In reality, though, you probably
will avoid the one component route. Since it's somewhat defeats the purpose of using
react in the first place. You see the benefit of the component is that you can build a bunch
of independent, isolated, and most importantly, reusable user interfaces that you can run
piece it together, just like Lego blocks. And as a result, build even super complex
apps without going insane. While your app can have as many components as you'd like,
it will always always have at least one called root component. We already glossed over it
a bit. But just to reiterate the major benefits of using components and essentially, react,
develop your next app or phone, you can build independent pieces of user interfaces, meaning
changing logic, or layout in one combined will not break your OLAP once component is
ready to go, you can reuse it all throughout Europe. But component code is still stored
in one place. So if you ever need to make some changes, you don't have to run around
like a headless chicken, simply locate the component, apply the changes, and all the
instances will be automatically updated. And of course, let's also not forget about speed.