JavaScript
Article

Watch: A Lesson on React Props, Defaults and Modules

By Darin Haener

React and ES6 seems to be on everyone’s mind lately. Today I want to show you the ins and outs of React Props written with ES6.

In this video tutorial you’ll be learning about properties, defaults, and modules. Why? It will help you understand the basics about the property types your components can receive. Additionally, you will learn about the importing and exporting of modules. Gain confidence and comfort with default properties, which allow your components to be used without any actual properties being passed in. Using this knowledge, you’ll be ready to then move on to creating React components using the ES6 specification.

This is one lesson from my latest course React The ES6 Way, available on SitePoint Premium. If you’d like to learn more, check it out!

You can find the code samples for this lesson on GitHub.

Loading the player…

No Reader comments

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in JavaScript, once a week, for free.