React Tips — Stateless Components and Spreading Props

John Au-Yeung
The Startup
Published in
4 min readMay 18, 2020

--

Photo by Ryan Wallace on Unsplash

React is the most used front end library for building modern, interactive front end web apps. It can also be used to build mobile apps.

In this article, we’ll look at how to use stateless components to simplify our code and spreading props so we don’t have to pass them explicitly.

Stateless Components

--

--