8

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 our 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:

  • Creating React components
  • Useful ES6 features
  • JSX and styling
  • Props and state
  • Conditional rendering
  • React hooks
  • The Context API
  • Handling lists, events, and forms with React

Technical requirements

For our work, React version 18 or higher will be required. We set up our environment correctly in Chapter 7.

You can find more resources at the GitHub link for this chapter: https://github.com/PacktPublishing/Full-Stack-Development-with-Spring-Boot-3-and-React-Fourth-Edition/tree/main/Chapter08 ...

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