Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Skillshare

React 101: Learn React. js for absolute beginners

via Skillshare

Overview

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. 

Syllabus

  • Welcome to React.js for beginners
  • What is React.js?
  • Installing Node.js and npm
  • Starting a new project
  • React.js syntax
  • Importing components
  • JSX syntax
  • Your first component
  • Working with props
  • Click events in React.js
  • Adding state to your React components
  • Star Wars component
  • Pseudo coding
  • Another React.js click event
  • How to store data using React state
  • If conditions in React
  • Your first React-based API request
  • Randomizing characters
  • Creating links from text in React
  • How to loop through arrays in React
  • Your project

Taught by

Kalob Taulien

Reviews

Start your review of React 101: Learn React. js for absolute beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.