Welcome to React for beginners: a course for web developers to learn React.js even if you've never written any React.js in your life.Â
In this class, we're going to be starting at the very beginning, with no student left behind! React can look a bit strange to write at first because it's a mix of HTML and JavaScript, but I'm going to teach you ways to remember when to write JavaScript and when to write HTML (Or what's known as JSX).
We'll learn about React syntax, importing from other others, components, splitting components into new files and importing them, extending components, component props and state, click events, and how to build in an API request when a button is clicked.Â
If that sounded advanced and scary, don't worry I'll teach you everything you need to know about React.js to get you up and running quickly.Â
Why learn React.js:
React is a JavaScript library that lets you make insanely interactive and responsive websites and applications. When a user types or clicks on something, your JavaScript might want to take some form of action. React makes that easier to write and maintain. Plus it's extendable, meaning you can write a little bit of code and re-use it everywhere so you aren't spending all day writing code.
But more than that, React is a high demand skill. Lots of development companies, startups and big companies like Netflix use React — it's how they can create such amazing user interfaces like the Netflix movie catalog.Â
Everything that can be created in React can be created using vanilla JavaScript, but React makes it easy to maintain and easy to read — it turns long spaghetti JavaScript into a nice programming language that's easy to work on with your peers.
Who uses React.js:
Pretty much everybody is React these days. Whether it's a small part of a website that has complex logic, or an entire website like Netflix. Pretty much everybody and their dogs are writing React these days. And that's why it's important to learn.
About the teacher:
Hi, I'm Kalob Taulien, your teacher. I've been teaching people how to code since 2012. I have taught and mentored hundreds of thousands of students, including tens of thousands of students on Skillshare alone.Â
I have managed to win a top-ranking spot in the development community as a web development teacher.
Today I'm going to be teaching you React.js. If you've never written react, that's OK, I'll hold your hand through the beginning phases. If you've never written React, you WILL need to know JavaScript first. So please don't start this course unless you're familiar with JavaScript.Â
Your project:
- Throughout this course, we're going to create a random Star Wars character generator using an API request. Together we'll build out the fundamental parts of an application like that.Â
- Then as your final project, you're going to swap out the API request for a different endpoint, and add images to your project to make it more visually appealing.Â
Requirements:
- Must know HTML, CSS, and plain JavaScript
- Must be able to download and install Node.js (I'll show you how)Â
- Must be able to download and install files.Â