Chapter 7: Getting Started with React

This chapter describes the basics of React programming. We will cover the skills that are required to create basic functionalities for the React frontend. In JavaScript, we use the ECMAScript 2015 (ES6) syntax because it provides many features that make coding cleaner.

In this chapter, we will look at the following topics:

  • How to create React components
  • Useful ES6 features
  • JavaScript XML (JSX) and styling
  • Properties (props) and state
  • Stateless components
  • Conditional rendering
  • React hooks
  • Custom hooks
  • The Context application programming interface (API)
  • Handling lists with React
  • Handling events with React
  • Handling forms with React

Technical requirements

In this book, we will be using the Windows operating ...

Get Full Stack Development with Spring Boot and React - Third Edition 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.