Getting Started With React For Free
Written by Nikos Vaggalis   
Tuesday, 24 March 2020

Stuck at home with only the Internet for company? Learn the basics of React.js with this free class by Skillshare engineer, Daniel Nastase. No knowledge of React is needed, but basic knowledge of Javascript, HTML and CSS is required.

The class comprises of 13-byte sized and hand-on videos and is
split into two parts. The first part, videos 1-10 cover the fundamentals of React such as the components, state, css, rendering etc. All the lessons are compact and focus on a single topic. It's good and consistent organizing that does not wear the viewer out. In the second part, videos 11-13, you combine everything you've learned to build an example application.

After the intro of video 1, lessons start in video 2 with an explanation what React's components are and that each one has a render function to render the actual HTML.This is shown by making a simple component that appends <h1> enclosed text to the root DOM element.

The third video/lesson goes one step further dealing with complex and nested components. Although I had no experience with React, by now I understood that a component is a wrapper object over some HTML.

Lesson 4 gives more insight into the JSX format, a mix of JavaScript and HTML that is used by React. The lesson shows an example of it in interpolating a JavaScript variable into the to-be-rendered html.

Lesson 5 is in on React's properties, which are like HTML attributes and great for re-usability!

Excellent stuff so far, easy to understand and hands-on!

Lesson 6 is on handling UI events like button clicks.

Lesson 7 uses two button component instances, but each one with its own custom properties.The message of the lesson is to always use the arrow function when binding events in order to sidestep the fact that React doesn't know the context from which we call our event handlers.

Lesson 8 updates the state of the component, as well as the visuals, depending on that state. It also has some pitfalls to avoid.  With a running time of 5:35 this was one of the longest lessons!

Lesson 9 is about styling your components with CSS.

Lesson 10 shows some basic DOM manipulation with React Children and concludes the Basic part of the class.

In the next three videos you apply what you've learned to building a game of Rock Paper Scissors. You'll need the starter template of a "Create React App" with which you create React apps.

To sum up , this class is a great starting point in your journey exploring React. Did I mention that it comes with a nice price tag too? Free!

 

More Information

Getting started with React on Skillshare

Related Articles

Java Cryptography Basics On Skillshare 

Finland's "Full Stack Open" Now Available in English

TypeOfNaN JavaScript Quizzes

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Meta Releases OpenSource Podcast Generating Tool
28/11/2024

Meta has released an open source project that can be used to automatically convert a PDF file into a podcast. Meta says Notebook Llama can be considered an open-source version of Google's NotebookLM.

 [ ... ]



GitHub Announces Open Source Security Fund
03/12/2024

A new security-focused program, the GitHub Secure Open Source Fund, will invest $1.25M across 125 open source projects. The project is backed by the support of organizations including American Express [ ... ]


More News

{laodposition comment}

Last Updated ( Tuesday, 24 March 2020 )