Summary

In this chapter, we reached an important milestone: we learned how to encapsulate a state and create interactive user interfaces by creating React components. We discussed stateless and stateful React components, and the difference between them. We talked about the browser events and how to handle them in React.

In the next chapter, we'll be planning our Snapterest web application. You'll learn how to solve a problem with React and how to create composable React components.

Get React.js Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.