Watch: A Lesson on React Props, Defaults and Modules
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.